Skip to content

Conversation

@andreasfertig
Copy link
Owner

Fixed #178, 184: Provide the functions pulled in from a base class via using.

For example:

struct X {
  int f(int);
  int f(double);
protected:
  int x;
};

struct Y: X {
  using X::f;
  using X::x;
};

Will make the functions f(int) and f(double) available in Y as
well as it moves X::x from protected to public in Y. All these
functions or members are shown as comments only.

Fixed #184 which points out the invalid prefix from a using decl.

…a using.

For example:
```
struct X {
  int f(int);
  int f(double);
protected:
  int x;
};

struct Y: X {
  using X::f;
  using X::x;
};
```

Will make the functions `f(int)` and `f(double)` available in `Y` as
well as it moves `X::x` from `protected` to `public` in `Y`. All these
functions or members are shown as comments only.

Fixed #184 which points out the invalid prefix from a using decl.
@codecov
Copy link

codecov bot commented May 13, 2019

Codecov Report

Merging #185 into master will increase coverage by 0.36%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #185      +/-   ##
==========================================
+ Coverage   95.51%   95.88%   +0.36%     
==========================================
  Files          29       29              
  Lines        2387     2407      +20     
==========================================
+ Hits         2280     2308      +28     
+ Misses        107       99       -8
Impacted Files Coverage Δ
CodeGenerator.h 100% <100%> (ø) ⬆️
CodeGenerator.cpp 96.24% <100%> (+0.59%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update beca013...1bd5cce. Read the comment docs.

@andreasfertig andreasfertig merged commit 9817915 into master May 13, 2019
@andreasfertig andreasfertig deleted the fixIssu178 branch May 13, 2019 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Inheritance from variadic list not expanded well spell out using declaration

2 participants