mirror of
https://github.com/nasa/trick.git
synced 2024-12-20 21:53:10 +00:00
ef1d105bfb
A base-clause is the stuff in an inheritance list after the colon in a class declaration. https://en.cppreference.com/w/cpp/language/derived_class Closes #723 Closes #733
23 lines
377 B
C++
23 lines
377 B
C++
//@trick_link_dependency{Classes.cpp}
|
|
|
|
#ifndef CLASSES_HH
|
|
#define CLASSES_HH
|
|
|
|
#include "trick/SimObject.hh"
|
|
|
|
void foo();
|
|
|
|
class Normal {};
|
|
template <class T> class Template1 {};
|
|
template <class T, typename U> struct Template2 {};
|
|
|
|
namespace Foo {
|
|
|
|
class FooNormal {};
|
|
template <class T> class FooTemplate1 {};
|
|
template <class T, typename U> struct FooTemplate2 {};
|
|
|
|
};
|
|
|
|
#endif
|