mirror of
https://github.com/boostorg/parameter.git
synced 2026-02-13 12:42:10 +00:00
boost guidelines (mainly from inspect tool: tabs, license reference text, etc.); more to do...
[SVN r34753]
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user