projects
/
senf.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Utils/RestrictedInt: export Base and Tag template types
[senf.git]
/
senf
/
Utils
/
RestrictedInt.hh
diff --git
a/senf/Utils/RestrictedInt.hh
b/senf/Utils/RestrictedInt.hh
index
3ceacc9
..
ded9737
100644
(file)
--- a/
senf/Utils/RestrictedInt.hh
+++ b/
senf/Utils/RestrictedInt.hh
@@
-49,6
+49,9
@@
namespace senf {
senf::comparable_safe_bool< RestrictedInt<Base,Tag> > > > > >
{
public:
+ typedef Base base_type;
+ typedef Tag tag_type;
+
explicit RestrictedInt(Base value) : value_ (value) {}
RestrictedInt() : value_ () {}