File: Class-template-constructor-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-- 189 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
template <typename T>
class start
{
public:
  start(start const&);
  template <typename U>
  start(start<U> const&);
};
start<int> instantiate_and_copy(start<int> const& x)
{
  return x;
}