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:
6af8085
)
repeat.hpp: デフォルトコンストラクタがねぇよぉー、って言われる原因、把握したので…
author
myun2
<myun2@nwhite.info>
Sat, 7 Jul 2012 13:29:25 +0000
(22:29 +0900)
committer
myun2
<myun2@nwhite.info>
Sat, 7 Jul 2012 13:29:25 +0000
(22:29 +0900)
roast/include/roast/lexical2/repeat.hpp
patch
|
blob
|
history
diff --git
a/roast/include/roast/lexical2/repeat.hpp
b/roast/include/roast/lexical2/repeat.hpp
index
6ff47c8
..
984b28d
100644
(file)
--- a/
roast/include/roast/lexical2/repeat.hpp
+++ b/
roast/include/roast/lexical2/repeat.hpp
@@
-66,6
+66,9
@@
namespace roast
{
public:
const T t;
+
+ fixed_repeat(){}
+ fixed_repeat(const T& t_in) : t(t_in){}
//const static int length = length_of<T>::value * N;
@@
-88,7
+91,7
@@
namespace roast
//----
template <typename _Strm, typename _Document>
- bool generate(_Strm& strm, _Document& doc)
+ bool generate(_Strm& strm, _Document& doc)
const
{
for(unsigned int i=0; i<N; i++)
{