MCPcopy Index your code
hub / github.com/BruceEckel/OnJava8-Examples / Basic

Class Basic

generics/Mixins.cpp:28–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26template<class T> long SerialNumbered<T>::counter = 1;
27
28class Basic {
29 string value;
30public:
31 void set(string val) { value = val; }
32 string get() { return value; }
33};
34
35int main() {
36 TimeStamped<SerialNumbered<Basic>> mixin1, mixin2;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected