File: Base.ah

package info (click to toggle)
aspectc%2B%2B 1%3A2.3%2Bgit20221129-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 17,988 kB
  • sloc: cpp: 109,125; ansic: 7,644; sh: 2,262; makefile: 1,312; pascal: 634; python: 402; xml: 349
file content (11 lines) | stat: -rw-r--r-- 213 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
#ifndef __Base_ah__
#define __Base_ah__

typedef int SomeType;

aspect Base {
    pointcut virtual target_class () = 0;
    advice target_class() : slice struct { SomeType _something; };
};

#endif // __Base_ah__