TooN 2.1
internal/dchecktest.hh
00001 
00002 namespace TooN {
00003 
00004 struct Argument_Needed_For_Dynamic_Parameter{};
00005 
00006 namespace Internal {
00007     template<int N>
00008     struct DCheck {
00009         static int val() {return N;}
00010     };
00011     
00012     template<>
00013     struct DCheck<-1>{
00014         static Argument_Needed_For_Dynamic_Parameter val(); // {return ArgumentNeededForDynamicParameter();}
00015     };
00016 }
00017 
00018 }
00019