repo.or.cz
/
geany-mirror.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
c++: Fix handling of the `final` contextual keyword
[geany-mirror.git]
/
tests
/
ctags
/
cxx11-final.cpp
blob
fa7894f63d0c581adc73bf5b96ab092efbae188e
1
class
Base
2
{
3
public
:
4
virtual
void
foo
() =
0
;
5
};
6
7
class
Derived final
:
public
Base
8
{
9
virtual
void
foo
();
10
virtual
void
final
();
11
};
12
13
void
Base
::
foo
()
14
{
15
}
16
17
void
Derived
::
foo
()
18
{
19
}
20
21
void
Derived
::
final
()
22
{
23
}