~efargaspro/+junk/codeblocks-16.01-release

« back to all changes in this revision

Viewing changes to src/plugins/codecompletion/testing/impl_decl.h

  • Committer: damienlmoore at gmail
  • Date: 2016-02-02 02:43:22 UTC
  • Revision ID: damienlmoore@gmail.com-20160202024322-yql5qmtbwdyamdwd
Code::BlocksĀ 16.01

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#define UN(identifier) /* identifier */
 
2
 
 
3
class ImplDecl
 
4
{
 
5
  typedef int int_foo;
 
6
  public:
 
7
    bool        MethodA();
 
8
    void        MethodB() const;
 
9
    const void* MethodC() const;
 
10
    bool        MethodD(const    int     i = 4 );
 
11
    bool        MethodE(const    int&    i = 5 );
 
12
    int_foo     MethodF(const    int_foo i = 6 );
 
13
    bool        MethodG(volatile float   f = 7.);
 
14
    bool        MethodH(         float   f = 8.);
 
15
    bool        MethodI(         float   /*FF*/);
 
16
    bool        MethodJ(         float   FF    );
 
17
    bool        MethodK(         float   f = 9.) { return true; };
 
18
};
 
19
 
 
20
bool        GlobalNonExt();
 
21
extern bool GlobalExt();
 
22
 
 
23
template <class T> T GetMax(T a, T b) { return (a>b?a:b); };