#include #include class MyClass { public: std::map < int, bool > someData; std::map < int, std::list < bool > > otherData; }; void foo() { List < byte >bob = new List (); } A foo; A bar; A baz; A > bay; void asd(void) { A foo; A bar; A baz; A > bay; if (a < b && b > c) { a = b < c > 0; } if (a < bar() > c) { } a < up_lim() ? do_hi() : do_low; a[ ac] = d; } template class MyClass { } template class MyClass { } template class MyClass : myvar(0), myvar2(0) { } template class MyClass : myvar(0), myvar2(0) { } static int max_value() { return (std :: numeric_limits :: max ) (); } template < class Config_ > priority_queue < Config_ > :: ~ priority_queue () { } template T test(T a) { return a; } int main() { int k,j; h g; k=test(j); return 0; } template class ConcreteStorageClass> class RotationMatrix : public StaticBaseMatrix { public: RotationMatrix() : StaticBaseMatrix() { // do some initialization } void assign(const OtherClass& other) { // do something } }; int main() { MyClass foo; } template< typename CharT, int N, typename Traits > inline std::basic_ostream& FWStreamOut(std::basic_ostream &os, const W::S &s) { return operator<< >( os, s ); } struct foo { type1 < int & > bar; }; struct foo { type1 < int const > bar; };