From 8a2aa8eb3f1fe64d54cd71b70ceed03b23491b51 Mon Sep 17 00:00:00 2001 From: Arkadiy Vertleyb Date: Tue, 20 Sep 2005 01:56:11 +0000 Subject: [PATCH] changed native typeof keyword [SVN r31050] --- include/boost/typeof/lvalue_typeof.hpp | 2 +- include/boost/typeof/typeof.hpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/boost/typeof/lvalue_typeof.hpp b/include/boost/typeof/lvalue_typeof.hpp index 9b9f778..fa3ec4e 100755 --- a/include/boost/typeof/lvalue_typeof.hpp +++ b/include/boost/typeof/lvalue_typeof.hpp @@ -108,4 +108,4 @@ namespace boost { namespace type_of { #endif -#endif//BOOST_TYPEOF_LVALUE_TYPEOF_HPP_INCLUDED \ No newline at end of file +#endif//BOOST_TYPEOF_LVALUE_TYPEOF_HPP_INCLUDED diff --git a/include/boost/typeof/typeof.hpp b/include/boost/typeof/typeof.hpp index 4429a6c..66d9d3c 100755 --- a/include/boost/typeof/typeof.hpp +++ b/include/boost/typeof/typeof.hpp @@ -31,12 +31,12 @@ # include # if !defined BOOST_TYPEOF_KEYWORD -# define BOOST_TYPEOF_KEYWORD __typeof__ +# define BOOST_TYPEOF_KEYWORD typeof # endif - /* Native __typeof__ can accept either type or value. + /* Native typeof can accept either type or value. Something like "int()" can be viewed either way, but - __typeof__ consideres it a type. We force it otherwise + typeof consideres it a type. We force it otherwise to ensure consistensy with emulation */ namespace boost { namespace type_of {