boost guidelines (mainly from inspect tool: tabs, license reference text, etc.); more to do...

[SVN r34753]
This commit is contained in:
Gennaro Prota
2006-07-27 11:48:49 +00:00
parent ca120a3f04
commit 00bbfbb20c
2 changed files with 7 additions and 3 deletions

View File

@@ -20,7 +20,7 @@ namespace test
typename boost::parameter::lazy_binding<Params,tag::value,F>::type
extract_value(Params const& p, F const& f)
{
typename boost::parameter::lazy_binding<
typename ::boost::parameter::lazy_binding<
Params, tag::value, F
>::type v = p[value || f ];
return v;

View File

@@ -36,11 +36,15 @@ inline double value_default()
return 666.222;
}
template <class T>
/*template <class T>
inline bool equal(T const& x, T const& y)
{
return x == y;
}
}*/
template <class T>
inline bool equal(T x, T y) { return x == y; }
inline bool equal(char const* s1, char const* s2)
{