OSDN Git Service
(root)
/
roast
/
roast.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa70b55
)
nest_type/ref.hpp: こうやった
author
Myun2
<myun2@nwhite.info>
Mon, 21 May 2012 16:46:07 +0000
(
01:46
+0900)
committer
Myun2
<myun2@nwhite.info>
Mon, 21 May 2012 16:46:07 +0000
(
01:46
+0900)
roast/include/roast/tp/nest_type/ref.hpp
patch
|
blob
|
history
diff --git
a/roast/include/roast/tp/nest_type/ref.hpp
b/roast/include/roast/tp/nest_type/ref.hpp
index
34c3c36
..
c058fb7
100644
(file)
--- a/
roast/include/roast/tp/nest_type/ref.hpp
+++ b/
roast/include/roast/tp/nest_type/ref.hpp
@@
-14,7
+14,7
@@
namespace roast
template <int N>
struct _get_n{};
- template <typename _NestType>
+ template <
int N,
typename _NestType>
typename get_type<_NestType, 0>::type& ref(_NestType& nest, const _get_n<0>& )
{
return nest.value;