From 00bbfbb20c60b126997fd2b15a478d263d134d58 Mon Sep 17 00:00:00 2001 From: Gennaro Prota Date: Thu, 27 Jul 2006 11:48:49 +0000 Subject: [PATCH] boost guidelines (mainly from inspect tool: tabs, license reference text, etc.); more to do... [SVN r34753] --- test/basics.cpp | 2 +- test/basics.hpp | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/test/basics.cpp b/test/basics.cpp index da8b7eb..d4a1279 100755 --- a/test/basics.cpp +++ b/test/basics.cpp @@ -20,7 +20,7 @@ namespace test typename boost::parameter::lazy_binding::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; diff --git a/test/basics.hpp b/test/basics.hpp index 9407a1c..8a9223a 100755 --- a/test/basics.hpp +++ b/test/basics.hpp @@ -36,11 +36,15 @@ inline double value_default() return 666.222; } -template +/*template inline bool equal(T const& x, T const& y) { return x == y; -} +}*/ + +template +inline bool equal(T x, T y) { return x == y; } + inline bool equal(char const* s1, char const* s2) {