mirror of
https://github.com/boostorg/typeof.git
synced 2025-05-11 05:14:02 +00:00
changed native typeof keyword
[SVN r31050]
This commit is contained in:
parent
c357f29a5b
commit
8a2aa8eb3f
@ -108,4 +108,4 @@ namespace boost { namespace type_of {
|
||||
|
||||
#endif
|
||||
|
||||
#endif//BOOST_TYPEOF_LVALUE_TYPEOF_HPP_INCLUDED
|
||||
#endif//BOOST_TYPEOF_LVALUE_TYPEOF_HPP_INCLUDED
|
||||
|
@ -31,12 +31,12 @@
|
||||
# include <boost/typeof/message.hpp>
|
||||
|
||||
# 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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user