3 class valarray { int _M_data; };
4 template < typename > struct SimpleJet { valarray partials; };
6 template < class C > struct scoped_ptr_impl
8 scoped_ptr_impl (C *):data_ () { }
16 template < class, class = int >struct scoped_ptr;
17 template < class C, class D > struct scoped_ptr <C[], D >
19 scoped_ptr ():impl_ (0) { }
20 scoped_ptr_impl < C > impl_;
23 template < typename JetsT > void
26 typedef typename JetsT::JetType JetT;
27 scoped_ptr < JetT[] > a;
30 template < typename T > struct SimpleJets
32 typedef SimpleJet < T > JetType;
33 scoped_ptr < SimpleJet < T >[] > vars_;
38 SimpleJets < double >b;