File: Class-template.cxx

package info (click to toggle)
castxml 0.7.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,304 kB
  • sloc: cpp: 5,453; ansic: 354; sh: 85; makefile: 18
file content (12 lines) | stat: -rw-r--r-- 283 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
template <typename T>
class start
{
};
template <typename T>
struct start<T&>
{
}; // partial specialization
template <>
class start<char>;          // specialization
template class start<int>;  // instantiation
template class start<int&>; // instantiation of partial specialization