OSDN Git Service

nest_type/get: いけた気がする
authorMyun2 <myun2@nwhite.info>
Mon, 21 May 2012 16:29:57 +0000 (01:29 +0900)
committerMyun2 <myun2@nwhite.info>
Mon, 21 May 2012 16:29:57 +0000 (01:29 +0900)
roast/include/roast/tp/nest_type/get_type.hpp

index af26d8e..28e2765 100644 (file)
@@ -26,6 +26,11 @@ namespace roast
                        {
                                //typedef type;
                        };
+                       template <typename _NestType>
+                       struct impl<_NestType, 0, EmptyType>
+                       {
+                               typedef typename _NestType::_Value type;
+                       };
                }
                
                template <typename _NestType, int N>