Update of /cvsroot/boost/boost/boost/function_types/detail/encoding
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv28648/detail/encoding
Added Files:
aliases_def.hpp aliases_undef.hpp def.hpp undef.hpp
Log Message:
adds function_types implementation
--- NEW FILE: aliases_def.hpp ---
// (C) Copyright Tobias Schwinger
//
// Use modification and distribution are subject to the boost Software License,
// Version 1.0. (See http://www.boost.org/LICENSE_1_0.txt).
//------------------------------------------------------------------------------
// no include guards, this file is intended for multiple inclusions
#define callable_builtin BOOST_FT_callable_builtin
#define member BOOST_FT_member_pointer
#define non_member BOOST_FT_non_member
#define variadic BOOST_FT_variadic
#define non_variadic BOOST_FT_non_variadic
--- NEW FILE: aliases_undef.hpp ---
// (C) Copyright Tobias Schwinger
//
// Use modification and distribution are subject to the boost Software License,
// Version 1.0. (See http://www.boost.org/LICENSE_1_0.txt).
//------------------------------------------------------------------------------
// no include guards, this file is intended for multiple inclusions
#undef callable_builtin
#undef member
#undef non_member
#undef variadic
#undef non_variadic
--- NEW FILE: def.hpp ---
// (C) Copyright Tobias Schwinger
//
// Use modification and distribution are subject to the boost Software License,
// Version 1.0. (See http://www.boost.org/LICENSE_1_0.txt).
//------------------------------------------------------------------------------
// no include guards, this file is intended for multiple inclusions
// Type encoding:
//
// bit 0: callable builtin
// bit 1: non member
// bit 2: naked function
// bit 3: pointer
// bit 4: reference
// bit 5: member pointer
// bit 6: member function pointer
// bit 7: member object pointer
#define BOOST_FT_type_mask 0x000000ff // 1111 1111
#define BOOST_FT_callable_builtin 0x00000001 // 0000 0001
#define BOOST_FT_non_member 0x00000002 // 0000 0010
#define BOOST_FT_function 0x00000007 // 0000 0111
#define BOOST_FT_pointer 0x0000000b // 0000 1011
#define BOOST_FT_reference 0x00000013 // 0001 0011
#define BOOST_FT_non_member_callable_builtin 0x00000003 // 0000 0011
#define BOOST_FT_member_pointer 0x00000020 // 0010 0000
#define BOOST_FT_member_function_pointer 0x00000061 // 0110 0001
#define BOOST_FT_member_object_pointer 0x000000a3 // 1010 0001
#define BOOST_FT_member_object_pointer_flags 0x000002a3
#define BOOST_FT_variadic 0x00000100
#define BOOST_FT_non_variadic 0x00000200
#define BOOST_FT_variadic_mask 0x00000300
#define BOOST_FT_const 0x00000400
#define BOOST_FT_volatile 0x00000800
#define BOOST_FT_default_cc 0x00008000
#define BOOST_FT_cc_mask 0x00ff8000
#define BOOST_FT_kind_mask 0x000000fc
#define BOOST_FT_flags_mask 0x00000fff
#define BOOST_FT_full_mask 0x00ff0fff
#define BOOST_FT_arity_shift 24
#define BOOST_FT_arity_mask 0x7f000000
--- NEW FILE: undef.hpp ---
// (C) Copyright Tobias Schwinger
//
// Use modification and distribution are subject to the boost Software License,
// Version 1.0. (See http://www.boost.org/LICENSE_1_0.txt).
//------------------------------------------------------------------------------
// no include guards, this file is intended for multiple inclusion
#undef BOOST_FT_type_mask
#undef BOOST_FT_kind_mask
#undef BOOST_FT_callable_builtin
#undef BOOST_FT_non_member
#undef BOOST_FT_function
#undef BOOST_FT_pointer
#undef BOOST_FT_reference
#undef BOOST_FT_non_member_callable_builtin
#undef BOOST_FT_member_pointer
#undef BOOST_FT_member_function_pointer
#undef BOOST_FT_member_object_pointer
#undef BOOST_FT_member_object_pointer_flags
#undef BOOST_FT_variadic
#undef BOOST_FT_non_variadic
#undef BOOST_FT_variadic_mask
#undef BOOST_FT_const
#undef BOOST_FT_volatile
#undef BOOST_FT_default_cc
#undef BOOST_FT_cc_mask
#undef BOOST_FT_flags_mask
#undef BOOST_FT_full_mask
#undef BOOST_FT_arity_mask
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs