added stuff to std registration

[SVN r2428]
This commit is contained in:
Arkadiy Vertleyb
2005-01-04 14:38:07 +00:00
parent c7a5751cfd
commit e2335a5744
20 changed files with 441 additions and 26 deletions

View File

@ -1,45 +1,51 @@
~string
#memory
@memory
TEMPLATE,std::char_traits,1
TEMPLATE,std::basic_string,1,3
#ifdef BOOST_TYPEOF_COMPLIANT
TYPE,std::string
#endif//BOOST_TYPEOF_COMPLIANT
~deque
#memory
@memory
TEMPLATE,std::deque,1,2
~list
#memory
@memory
TEMPLATE,std::list,1,2
~queue
#memory
@memory
TEMPLATE,std::queue,1,2
~stack
#memory
@memory
TEMPLATE,std::stack,1,2
~vector
#memory
@memory
TEMPLATE,std::vector,1,2
~map
#memory
#functional
#utility
@memory
@functional
@utility
TEMPLATE,std::map,2,4
TEMPLATE,std::multimap,2,4
~set
#memory
#functional
@memory
@functional
TEMPLATE,std::set,1,3
TEMPLATE,std::multiset,1,3
@ -88,13 +94,134 @@ TEMPLATE,std::mem_fun_t,2
TEMPLATE,std::mem_fun1_t,3
TEMPLATE,std::mem_fun_ref_t,2
TEMPLATE,std::mem_fun1_ref_t,3
#if !BOOST_WORKAROUND(BOOST_MSVC, <= 1300)
TEMPLATE,std::const_mem_fun_t,2
TEMPLATE,std::const_mem_fun1_t,3
TEMPLATE,std::const_mem_fun_ref_t,2
TEMPLATE,std::const_mem_fun1_ref_t,3
#endif//BOOST_WORKAROUND(BOOST_MSVC, <= 1300)
~memory
TEMPLATE,std::allocator,1
TEMPLATE,std::raw_storage_iterator,2
TEMPLATE,std::auto_ptr,1
~complex
TEMPLATE,std::complex,1
~valarray
TEMPLATE,std::valarray,1
TYPE,std::slice
TEMPLATE,std::slice_array,1
TYPE,std::gslice
TEMPLATE,std::gslice_array,1
TEMPLATE,std::mask_array,1
TEMPLATE,std::indirect_array,1
~iosfwd
@string
@memory
TEMPLATE,std::basic_ios,1,2
TEMPLATE,std::class basic_streambuf,1,2
TEMPLATE,std::basic_istream,1,2
TEMPLATE,std::basic_ostream,1,2
TEMPLATE,std::basic_iostream,1,2
TEMPLATE,std::basic_stringbuf,1,3
TEMPLATE,std::basic_istringstream,1,3
TEMPLATE,std::basic_ostringstream,1,3
TEMPLATE,std::basic_stringstream,1,3
TEMPLATE,std::basic_filebuf,1,2
TEMPLATE,std::basic_ifstream,1,2
TEMPLATE,std::basic_ofstream,1,2
TEMPLATE,std::basic_fstream,1,2
TEMPLATE,std::istreambuf_iterator,1,2
TEMPLATE,std::ostreambuf_iterator,1,2
TEMPLATE,std::fpos,1
#ifdef BOOST_TYPEOF_COMPLIANT
TYPE,std::ios
TYPE,std::wios
TYPE,std::streambuf
TYPE,std::istream
TYPE,std::ostream
TYPE,std::iostream
TYPE,std::stringbuf
TYPE,std::istringstream
TYPE,std::ostringstream
TYPE,std::stringstream
TYPE,std::filebuf
TYPE,std::ifstream
TYPE,std::ofstream
TYPE,std::fstream
TYPE,std::wstreambuf
TYPE,std::wistream
TYPE,std::wostream
TYPE,std::wiostream
TYPE,std::wstringbuf
TYPE,std::wistringstream
TYPE,std::wostringstream
TYPE,std::wstringstream
TYPE,std::wfilebuf
TYPE,std::wifstream
TYPE,std::wofstream
TYPE,std::wfstream
TYPE,std::streampos
TYPE,std::wstreampos
#endif//BOOST_TYPEOF_COMPLIANT
~iterator
@string
TEMPLATE,std::iterator_traits,1
TEMPLATE,std::iterator,2,5
TYPE,std::input_iterator_tag
TYPE,std::output_iterator_tag
TYPE,std::forward_iterator_tag
TYPE,std::bidirectional_iterator_tag
TYPE,std::random_access_iterator_tag
TEMPLATE,std::reverse_iterator,1
TEMPLATE,std::back_insert_iterator,1
TEMPLATE,std::front_insert_iterator,1
TEMPLATE,std::insert_iterator,1
TEMPLATE,std::istream_iterator,1,4
TEMPLATE,std::ostream_iterator,1,3
TEMPLATE,std::istreambuf_iterator,1,2
TEMPLATE,std::ostreambuf_iterator,1,2
~locale
TYPE,std::locale
TYPE,std::ctype_base
TEMPLATE,std::ctype,1
TEMPLATE,std::ctype_byname,1
TYPE,std::codecvt_base
TEMPLATE,std::codecvt,3
TEMPLATE,std::codecvt_byname,3
TEMPLATE,std::num_get,2
TEMPLATE,std::num_put,2
TEMPLATE,std::numpunct,1
TEMPLATE,std::numpunct_byname,1
TEMPLATE,std::collate,1
TEMPLATE,std::collate_byname,1
TYPE,std::time_base
TEMPLATE,std::time_get,2
TEMPLATE,std::time_get_byname,2
TEMPLATE,std::time_put,2
TEMPLATE,std::time_put_byname,2
TYPE,std::money_base
TEMPLATE,std::money_get,2
TEMPLATE,std::money_put,2
TEMPLATE_X,std::moneypunct,(class)(bool)
TEMPLATE_X,std::moneypunct_byname,(class)(bool)
TYPE,std::messages_base
TEMPLATE,std::messages,1
TEMPLATE,std::messages_byname,1

View File

@ -36,7 +36,7 @@ string copyright(const string& master)
"// Copyright (C) 2004 " + master + ".\n"
"// Use, modification and distribution is subject to the Boost Software\n"
"// License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt)\n\n"
"// This is a generated file -- please do not modify."
"// This is a generated file -- please do not modify by hand."
;
}
@ -73,6 +73,12 @@ public:
m_out << endl << "#include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()" << endl << endl;
}
if (text[0] == '#')
{
m_out << text << endl;
return;
}
tokenizer<escaped_list_separator<char> > tokens(text, escaped_list_separator<char>('\\', ',', '\"'));
string what = getTokenAt<string>(tokens, 0);
@ -147,7 +153,7 @@ int main()
file_ptr->include(name);
file_ptr->include("boost/typeof/typeof.hpp");
}
else if (text[0] == '#')
else if (text[0] == '@')
{
string name = text.substr(1);
file_ptr->include(string("boost/typeof/std/") + name + ".hpp");

View File

@ -2,7 +2,7 @@
// Use, modification and distribution is subject to the Boost Software
// License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt)
// This is a generated file -- please do not modify.
// This is a generated file -- please do not modify by hand.
#ifndef BOOST_TYPEOF_STD_bitset_hpp_INCLUDED
#define BOOST_TYPEOF_STD_bitset_hpp_INCLUDED

View File

@ -0,0 +1,17 @@
// Copyright (C) 2004 Arkadiy Vertleyb, Peder Holt.
// Use, modification and distribution is subject to the Boost Software
// License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt)
// This is a generated file -- please do not modify by hand.
#ifndef BOOST_TYPEOF_STD_complex_hpp_INCLUDED
#define BOOST_TYPEOF_STD_complex_hpp_INCLUDED
#include <complex>
#include <boost/typeof/typeof.hpp>
#include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
BOOST_TYPEOF_REGISTER_TEMPLATE(std::complex, 1)
#endif//BOOST_TYPEOF_STD_complex_hpp_INCLUDED

View File

@ -2,7 +2,7 @@
// Use, modification and distribution is subject to the Boost Software
// License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt)
// This is a generated file -- please do not modify.
// This is a generated file -- please do not modify by hand.
#ifndef BOOST_TYPEOF_STD_deque_hpp_INCLUDED
#define BOOST_TYPEOF_STD_deque_hpp_INCLUDED

View File

@ -2,7 +2,7 @@
// Use, modification and distribution is subject to the Boost Software
// License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt)
// This is a generated file -- please do not modify.
// This is a generated file -- please do not modify by hand.
#ifndef BOOST_TYPEOF_STD_functional_hpp_INCLUDED
#define BOOST_TYPEOF_STD_functional_hpp_INCLUDED
@ -39,9 +39,11 @@ BOOST_TYPEOF_REGISTER_TEMPLATE(std::mem_fun_t, 2)
BOOST_TYPEOF_REGISTER_TEMPLATE(std::mem_fun1_t, 3)
BOOST_TYPEOF_REGISTER_TEMPLATE(std::mem_fun_ref_t, 2)
BOOST_TYPEOF_REGISTER_TEMPLATE(std::mem_fun1_ref_t, 3)
#if !BOOST_WORKAROUND(BOOST_MSVC, <= 1300)
BOOST_TYPEOF_REGISTER_TEMPLATE(std::const_mem_fun_t, 2)
BOOST_TYPEOF_REGISTER_TEMPLATE(std::const_mem_fun1_t, 3)
BOOST_TYPEOF_REGISTER_TEMPLATE(std::const_mem_fun_ref_t, 2)
BOOST_TYPEOF_REGISTER_TEMPLATE(std::const_mem_fun1_ref_t, 3)
#endif//BOOST_WORKAROUND(BOOST_MSVC, <= 1300)
#endif//BOOST_TYPEOF_STD_functional_hpp_INCLUDED

View File

@ -0,0 +1,113 @@
// Copyright (C) 2004 Arkadiy Vertleyb, Peder Holt.
// Use, modification and distribution is subject to the Boost Software
// License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt)
// This is a generated file -- please do not modify by hand.
#ifndef BOOST_TYPEOF_STD_iosfwd_hpp_INCLUDED
#define BOOST_TYPEOF_STD_iosfwd_hpp_INCLUDED
#include <iosfwd>
#include <boost/typeof/typeof.hpp>
#include <boost/typeof/std/string.hpp>
#include <boost/typeof/std/memory.hpp>
#include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
#ifdef BOOST_TYPEOF_COMPLIANT
BOOST_TYPEOF_REGISTER_TEMPLATE(std::basic_ios, 1)
#endif//BOOST_TYPEOF_COMPLIANT
BOOST_TYPEOF_REGISTER_TEMPLATE(std::basic_ios, 2)
#ifdef BOOST_TYPEOF_COMPLIANT
BOOST_TYPEOF_REGISTER_TEMPLATE(std::class basic_streambuf, 1)
#endif//BOOST_TYPEOF_COMPLIANT
BOOST_TYPEOF_REGISTER_TEMPLATE(std::class basic_streambuf, 2)
#ifdef BOOST_TYPEOF_COMPLIANT
BOOST_TYPEOF_REGISTER_TEMPLATE(std::basic_istream, 1)
#endif//BOOST_TYPEOF_COMPLIANT
BOOST_TYPEOF_REGISTER_TEMPLATE(std::basic_istream, 2)
#ifdef BOOST_TYPEOF_COMPLIANT
BOOST_TYPEOF_REGISTER_TEMPLATE(std::basic_ostream, 1)
#endif//BOOST_TYPEOF_COMPLIANT
BOOST_TYPEOF_REGISTER_TEMPLATE(std::basic_ostream, 2)
#ifdef BOOST_TYPEOF_COMPLIANT
BOOST_TYPEOF_REGISTER_TEMPLATE(std::basic_iostream, 1)
#endif//BOOST_TYPEOF_COMPLIANT
BOOST_TYPEOF_REGISTER_TEMPLATE(std::basic_iostream, 2)
#ifdef BOOST_TYPEOF_COMPLIANT
BOOST_TYPEOF_REGISTER_TEMPLATE(std::basic_stringbuf, 1)
BOOST_TYPEOF_REGISTER_TEMPLATE(std::basic_stringbuf, 2)
#endif//BOOST_TYPEOF_COMPLIANT
BOOST_TYPEOF_REGISTER_TEMPLATE(std::basic_stringbuf, 3)
#ifdef BOOST_TYPEOF_COMPLIANT
BOOST_TYPEOF_REGISTER_TEMPLATE(std::basic_istringstream, 1)
BOOST_TYPEOF_REGISTER_TEMPLATE(std::basic_istringstream, 2)
#endif//BOOST_TYPEOF_COMPLIANT
BOOST_TYPEOF_REGISTER_TEMPLATE(std::basic_istringstream, 3)
#ifdef BOOST_TYPEOF_COMPLIANT
BOOST_TYPEOF_REGISTER_TEMPLATE(std::basic_ostringstream, 1)
BOOST_TYPEOF_REGISTER_TEMPLATE(std::basic_ostringstream, 2)
#endif//BOOST_TYPEOF_COMPLIANT
BOOST_TYPEOF_REGISTER_TEMPLATE(std::basic_ostringstream, 3)
#ifdef BOOST_TYPEOF_COMPLIANT
BOOST_TYPEOF_REGISTER_TEMPLATE(std::basic_stringstream, 1)
BOOST_TYPEOF_REGISTER_TEMPLATE(std::basic_stringstream, 2)
#endif//BOOST_TYPEOF_COMPLIANT
BOOST_TYPEOF_REGISTER_TEMPLATE(std::basic_stringstream, 3)
#ifdef BOOST_TYPEOF_COMPLIANT
BOOST_TYPEOF_REGISTER_TEMPLATE(std::basic_filebuf, 1)
#endif//BOOST_TYPEOF_COMPLIANT
BOOST_TYPEOF_REGISTER_TEMPLATE(std::basic_filebuf, 2)
#ifdef BOOST_TYPEOF_COMPLIANT
BOOST_TYPEOF_REGISTER_TEMPLATE(std::basic_ifstream, 1)
#endif//BOOST_TYPEOF_COMPLIANT
BOOST_TYPEOF_REGISTER_TEMPLATE(std::basic_ifstream, 2)
#ifdef BOOST_TYPEOF_COMPLIANT
BOOST_TYPEOF_REGISTER_TEMPLATE(std::basic_ofstream, 1)
#endif//BOOST_TYPEOF_COMPLIANT
BOOST_TYPEOF_REGISTER_TEMPLATE(std::basic_ofstream, 2)
#ifdef BOOST_TYPEOF_COMPLIANT
BOOST_TYPEOF_REGISTER_TEMPLATE(std::basic_fstream, 1)
#endif//BOOST_TYPEOF_COMPLIANT
BOOST_TYPEOF_REGISTER_TEMPLATE(std::basic_fstream, 2)
#ifdef BOOST_TYPEOF_COMPLIANT
BOOST_TYPEOF_REGISTER_TEMPLATE(std::istreambuf_iterator, 1)
#endif//BOOST_TYPEOF_COMPLIANT
BOOST_TYPEOF_REGISTER_TEMPLATE(std::istreambuf_iterator, 2)
#ifdef BOOST_TYPEOF_COMPLIANT
BOOST_TYPEOF_REGISTER_TEMPLATE(std::ostreambuf_iterator, 1)
#endif//BOOST_TYPEOF_COMPLIANT
BOOST_TYPEOF_REGISTER_TEMPLATE(std::ostreambuf_iterator, 2)
BOOST_TYPEOF_REGISTER_TEMPLATE(std::fpos, 1)
#ifdef BOOST_TYPEOF_COMPLIANT
BOOST_TYPEOF_REGISTER_TYPE(std::ios)
BOOST_TYPEOF_REGISTER_TYPE(std::wios)
BOOST_TYPEOF_REGISTER_TYPE(std::streambuf)
BOOST_TYPEOF_REGISTER_TYPE(std::istream)
BOOST_TYPEOF_REGISTER_TYPE(std::ostream)
BOOST_TYPEOF_REGISTER_TYPE(std::iostream)
BOOST_TYPEOF_REGISTER_TYPE(std::stringbuf)
BOOST_TYPEOF_REGISTER_TYPE(std::istringstream)
BOOST_TYPEOF_REGISTER_TYPE(std::ostringstream)
BOOST_TYPEOF_REGISTER_TYPE(std::stringstream)
BOOST_TYPEOF_REGISTER_TYPE(std::filebuf)
BOOST_TYPEOF_REGISTER_TYPE(std::ifstream)
BOOST_TYPEOF_REGISTER_TYPE(std::ofstream)
BOOST_TYPEOF_REGISTER_TYPE(std::fstream)
BOOST_TYPEOF_REGISTER_TYPE(std::wstreambuf)
BOOST_TYPEOF_REGISTER_TYPE(std::wistream)
BOOST_TYPEOF_REGISTER_TYPE(std::wostream)
BOOST_TYPEOF_REGISTER_TYPE(std::wiostream)
BOOST_TYPEOF_REGISTER_TYPE(std::wstringbuf)
BOOST_TYPEOF_REGISTER_TYPE(std::wistringstream)
BOOST_TYPEOF_REGISTER_TYPE(std::wostringstream)
BOOST_TYPEOF_REGISTER_TYPE(std::wstringstream)
BOOST_TYPEOF_REGISTER_TYPE(std::wfilebuf)
BOOST_TYPEOF_REGISTER_TYPE(std::wifstream)
BOOST_TYPEOF_REGISTER_TYPE(std::wofstream)
BOOST_TYPEOF_REGISTER_TYPE(std::wfstream)
BOOST_TYPEOF_REGISTER_TYPE(std::streampos)
BOOST_TYPEOF_REGISTER_TYPE(std::wstreampos)
#endif//BOOST_TYPEOF_COMPLIANT
#endif//BOOST_TYPEOF_STD_iosfwd_hpp_INCLUDED

View File

@ -0,0 +1,52 @@
// Copyright (C) 2004 Arkadiy Vertleyb, Peder Holt.
// Use, modification and distribution is subject to the Boost Software
// License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt)
// This is a generated file -- please do not modify by hand.
#ifndef BOOST_TYPEOF_STD_iterator_hpp_INCLUDED
#define BOOST_TYPEOF_STD_iterator_hpp_INCLUDED
#include <iterator>
#include <boost/typeof/typeof.hpp>
#include <boost/typeof/std/string.hpp>
#include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
BOOST_TYPEOF_REGISTER_TEMPLATE(std::iterator_traits, 1)
#ifdef BOOST_TYPEOF_COMPLIANT
BOOST_TYPEOF_REGISTER_TEMPLATE(std::iterator, 2)
BOOST_TYPEOF_REGISTER_TEMPLATE(std::iterator, 3)
BOOST_TYPEOF_REGISTER_TEMPLATE(std::iterator, 4)
#endif//BOOST_TYPEOF_COMPLIANT
BOOST_TYPEOF_REGISTER_TEMPLATE(std::iterator, 5)
BOOST_TYPEOF_REGISTER_TYPE(std::input_iterator_tag)
BOOST_TYPEOF_REGISTER_TYPE(std::output_iterator_tag)
BOOST_TYPEOF_REGISTER_TYPE(std::forward_iterator_tag)
BOOST_TYPEOF_REGISTER_TYPE(std::bidirectional_iterator_tag)
BOOST_TYPEOF_REGISTER_TYPE(std::random_access_iterator_tag)
BOOST_TYPEOF_REGISTER_TEMPLATE(std::reverse_iterator, 1)
BOOST_TYPEOF_REGISTER_TEMPLATE(std::back_insert_iterator, 1)
BOOST_TYPEOF_REGISTER_TEMPLATE(std::front_insert_iterator, 1)
BOOST_TYPEOF_REGISTER_TEMPLATE(std::insert_iterator, 1)
#ifdef BOOST_TYPEOF_COMPLIANT
BOOST_TYPEOF_REGISTER_TEMPLATE(std::istream_iterator, 1)
BOOST_TYPEOF_REGISTER_TEMPLATE(std::istream_iterator, 2)
BOOST_TYPEOF_REGISTER_TEMPLATE(std::istream_iterator, 3)
#endif//BOOST_TYPEOF_COMPLIANT
BOOST_TYPEOF_REGISTER_TEMPLATE(std::istream_iterator, 4)
#ifdef BOOST_TYPEOF_COMPLIANT
BOOST_TYPEOF_REGISTER_TEMPLATE(std::ostream_iterator, 1)
BOOST_TYPEOF_REGISTER_TEMPLATE(std::ostream_iterator, 2)
#endif//BOOST_TYPEOF_COMPLIANT
BOOST_TYPEOF_REGISTER_TEMPLATE(std::ostream_iterator, 3)
#ifdef BOOST_TYPEOF_COMPLIANT
BOOST_TYPEOF_REGISTER_TEMPLATE(std::istreambuf_iterator, 1)
#endif//BOOST_TYPEOF_COMPLIANT
BOOST_TYPEOF_REGISTER_TEMPLATE(std::istreambuf_iterator, 2)
#ifdef BOOST_TYPEOF_COMPLIANT
BOOST_TYPEOF_REGISTER_TEMPLATE(std::ostreambuf_iterator, 1)
#endif//BOOST_TYPEOF_COMPLIANT
BOOST_TYPEOF_REGISTER_TEMPLATE(std::ostreambuf_iterator, 2)
#endif//BOOST_TYPEOF_STD_iterator_hpp_INCLUDED

View File

@ -2,7 +2,7 @@
// Use, modification and distribution is subject to the Boost Software
// License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt)
// This is a generated file -- please do not modify.
// This is a generated file -- please do not modify by hand.
#ifndef BOOST_TYPEOF_STD_list_hpp_INCLUDED
#define BOOST_TYPEOF_STD_list_hpp_INCLUDED

View File

@ -0,0 +1,42 @@
// Copyright (C) 2004 Arkadiy Vertleyb, Peder Holt.
// Use, modification and distribution is subject to the Boost Software
// License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt)
// This is a generated file -- please do not modify by hand.
#ifndef BOOST_TYPEOF_STD_locale_hpp_INCLUDED
#define BOOST_TYPEOF_STD_locale_hpp_INCLUDED
#include <locale>
#include <boost/typeof/typeof.hpp>
#include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
BOOST_TYPEOF_REGISTER_TYPE(std::locale)
BOOST_TYPEOF_REGISTER_TYPE(std::ctype_base)
BOOST_TYPEOF_REGISTER_TEMPLATE(std::ctype, 1)
BOOST_TYPEOF_REGISTER_TEMPLATE(std::ctype_byname, 1)
BOOST_TYPEOF_REGISTER_TYPE(std::codecvt_base)
BOOST_TYPEOF_REGISTER_TEMPLATE(std::codecvt, 3)
BOOST_TYPEOF_REGISTER_TEMPLATE(std::codecvt_byname, 3)
BOOST_TYPEOF_REGISTER_TEMPLATE(std::num_get, 2)
BOOST_TYPEOF_REGISTER_TEMPLATE(std::num_put, 2)
BOOST_TYPEOF_REGISTER_TEMPLATE(std::numpunct, 1)
BOOST_TYPEOF_REGISTER_TEMPLATE(std::numpunct_byname, 1)
BOOST_TYPEOF_REGISTER_TEMPLATE(std::collate, 1)
BOOST_TYPEOF_REGISTER_TEMPLATE(std::collate_byname, 1)
BOOST_TYPEOF_REGISTER_TYPE(std::time_base)
BOOST_TYPEOF_REGISTER_TEMPLATE(std::time_get, 2)
BOOST_TYPEOF_REGISTER_TEMPLATE(std::time_get_byname, 2)
BOOST_TYPEOF_REGISTER_TEMPLATE(std::time_put, 2)
BOOST_TYPEOF_REGISTER_TEMPLATE(std::time_put_byname, 2)
BOOST_TYPEOF_REGISTER_TYPE(std::money_base)
BOOST_TYPEOF_REGISTER_TEMPLATE(std::money_get, 2)
BOOST_TYPEOF_REGISTER_TEMPLATE(std::money_put, 2)
BOOST_TYPEOF_REGISTER_TEMPLATE_X(std::moneypunct, (class)(bool))
BOOST_TYPEOF_REGISTER_TEMPLATE_X(std::moneypunct_byname, (class)(bool))
BOOST_TYPEOF_REGISTER_TYPE(std::messages_base)
BOOST_TYPEOF_REGISTER_TEMPLATE(std::messages, 1)
BOOST_TYPEOF_REGISTER_TEMPLATE(std::messages_byname, 1)
#endif//BOOST_TYPEOF_STD_locale_hpp_INCLUDED

View File

@ -2,7 +2,7 @@
// Use, modification and distribution is subject to the Boost Software
// License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt)
// This is a generated file -- please do not modify.
// This is a generated file -- please do not modify by hand.
#ifndef BOOST_TYPEOF_STD_map_hpp_INCLUDED
#define BOOST_TYPEOF_STD_map_hpp_INCLUDED

View File

@ -2,7 +2,7 @@
// Use, modification and distribution is subject to the Boost Software
// License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt)
// This is a generated file -- please do not modify.
// This is a generated file -- please do not modify by hand.
#ifndef BOOST_TYPEOF_STD_memory_hpp_INCLUDED
#define BOOST_TYPEOF_STD_memory_hpp_INCLUDED

View File

@ -2,7 +2,7 @@
// Use, modification and distribution is subject to the Boost Software
// License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt)
// This is a generated file -- please do not modify.
// This is a generated file -- please do not modify by hand.
#ifndef BOOST_TYPEOF_STD_queue_hpp_INCLUDED
#define BOOST_TYPEOF_STD_queue_hpp_INCLUDED

View File

@ -2,7 +2,7 @@
// Use, modification and distribution is subject to the Boost Software
// License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt)
// This is a generated file -- please do not modify.
// This is a generated file -- please do not modify by hand.
#ifndef BOOST_TYPEOF_STD_set_hpp_INCLUDED
#define BOOST_TYPEOF_STD_set_hpp_INCLUDED

View File

@ -2,7 +2,7 @@
// Use, modification and distribution is subject to the Boost Software
// License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt)
// This is a generated file -- please do not modify.
// This is a generated file -- please do not modify by hand.
#ifndef BOOST_TYPEOF_STD_stack_hpp_INCLUDED
#define BOOST_TYPEOF_STD_stack_hpp_INCLUDED

View File

@ -2,7 +2,7 @@
// Use, modification and distribution is subject to the Boost Software
// License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt)
// This is a generated file -- please do not modify.
// This is a generated file -- please do not modify by hand.
#ifndef BOOST_TYPEOF_STD_string_hpp_INCLUDED
#define BOOST_TYPEOF_STD_string_hpp_INCLUDED
@ -19,5 +19,8 @@ BOOST_TYPEOF_REGISTER_TEMPLATE(std::basic_string, 1)
BOOST_TYPEOF_REGISTER_TEMPLATE(std::basic_string, 2)
#endif//BOOST_TYPEOF_COMPLIANT
BOOST_TYPEOF_REGISTER_TEMPLATE(std::basic_string, 3)
#ifdef BOOST_TYPEOF_COMPLIANT
BOOST_TYPEOF_REGISTER_TYPE(std::string)
#endif//BOOST_TYPEOF_COMPLIANT
#endif//BOOST_TYPEOF_STD_string_hpp_INCLUDED

View File

@ -2,7 +2,7 @@
// Use, modification and distribution is subject to the Boost Software
// License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt)
// This is a generated file -- please do not modify.
// This is a generated file -- please do not modify by hand.
#ifndef BOOST_TYPEOF_STD_utility_hpp_INCLUDED
#define BOOST_TYPEOF_STD_utility_hpp_INCLUDED

View File

@ -0,0 +1,23 @@
// Copyright (C) 2004 Arkadiy Vertleyb, Peder Holt.
// Use, modification and distribution is subject to the Boost Software
// License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt)
// This is a generated file -- please do not modify by hand.
#ifndef BOOST_TYPEOF_STD_valarray_hpp_INCLUDED
#define BOOST_TYPEOF_STD_valarray_hpp_INCLUDED
#include <valarray>
#include <boost/typeof/typeof.hpp>
#include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
BOOST_TYPEOF_REGISTER_TEMPLATE(std::valarray, 1)
BOOST_TYPEOF_REGISTER_TYPE(std::slice)
BOOST_TYPEOF_REGISTER_TEMPLATE(std::slice_array, 1)
BOOST_TYPEOF_REGISTER_TYPE(std::gslice)
BOOST_TYPEOF_REGISTER_TEMPLATE(std::gslice_array, 1)
BOOST_TYPEOF_REGISTER_TEMPLATE(std::mask_array, 1)
BOOST_TYPEOF_REGISTER_TEMPLATE(std::indirect_array, 1)
#endif//BOOST_TYPEOF_STD_valarray_hpp_INCLUDED

View File

@ -2,7 +2,7 @@
// Use, modification and distribution is subject to the Boost Software
// License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt)
// This is a generated file -- please do not modify.
// This is a generated file -- please do not modify by hand.
#ifndef BOOST_TYPEOF_STD_vector_hpp_INCLUDED
#define BOOST_TYPEOF_STD_vector_hpp_INCLUDED

View File

@ -25,6 +25,8 @@
#include <boost/typeof/std/map.hpp>
#include <boost/typeof/std/set.hpp>
#include <boost/typeof/std/bitset.hpp>
#include <boost/typeof/std/functional.hpp>
#include <boost/typeof/std/valarray.hpp>
#include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
@ -145,7 +147,7 @@ struct noncopiable_test
}
};
#pragma message("STL...")
#pragma message("STL containers...")
BOOST_STATIC_ASSERT(typeof_test<string>::value);
BOOST_STATIC_ASSERT(typeof_test<deque<int> >::value);
@ -159,6 +161,34 @@ BOOST_STATIC_ASSERT(typeof_test<set<int> >::value);
BOOST_STATIC_ASSERT(typeof_test<multiset<int> >::value);
BOOST_STATIC_ASSERT(typeof_test<bitset<10> >::value);
#pragma message("function objects...")
BOOST_STATIC_ASSERT((typeof_test<unary_function<int, int> >::value));
BOOST_STATIC_ASSERT((typeof_test<binary_function<int, int, int> >::value));
BOOST_STATIC_ASSERT(typeof_test<plus<int> >::value);
BOOST_STATIC_ASSERT(typeof_test<minus<int> >::value);
BOOST_STATIC_ASSERT(typeof_test<multiplies<int> >::value);
BOOST_STATIC_ASSERT(typeof_test<divides<int> >::value);
BOOST_STATIC_ASSERT(typeof_test<modulus<int> >::value);
BOOST_STATIC_ASSERT(typeof_test<negate<int> >::value);
BOOST_STATIC_ASSERT(typeof_test<equal_to<int> >::value);
BOOST_STATIC_ASSERT(typeof_test<not_equal_to<int> >::value);
BOOST_STATIC_ASSERT(typeof_test<greater<int> >::value);
BOOST_STATIC_ASSERT(typeof_test<less<int> >::value);
BOOST_STATIC_ASSERT(typeof_test<greater_equal<int> >::value);
BOOST_STATIC_ASSERT(typeof_test<less_equal<int> >::value);
BOOST_STATIC_ASSERT(typeof_test<logical_and<int> >::value);
BOOST_STATIC_ASSERT(typeof_test<logical_or<int> >::value);
BOOST_STATIC_ASSERT(typeof_test<logical_not<int> >::value);
BOOST_STATIC_ASSERT(typeof_test<unary_negate<int> >::value);
BOOST_STATIC_ASSERT(typeof_test<binary_negate<int> >::value);
BOOST_STATIC_ASSERT(typeof_test<binder1st<less<int> > >::value);
BOOST_STATIC_ASSERT(typeof_test<binder2nd<less<int> > >::value);
#pragma message("valarray...")
BOOST_STATIC_ASSERT(typeof_test<valarray<int> >::value);
#pragma message("ODR...")
void odr_test()
{