Update of /cvsroot/cppunit/cppunit2/doc/fake_stl
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7919/doc/fake_stl
Added Files:
deque map set stdexcept string vector
Log Message:
- added fake_stl so that doxygen can figure out that runtime_error is in std namespace
- improved documentation
--- NEW FILE: map ---
#ifndef FAKESTL_MAP_INCLUDED
# define FAKESTL_MAP_INCLUDED
/// \cond fakestl
namespace std {
template<typename T> class allocator;
template< typename value_type, typename alloc=allocator<value_type> >
class map
{
};
template< typename value_type, typename alloc=allocator<value_type> >
class multimap
{
};
} // namespace std
/// \endcond fakestl
#endif // FAKESTL_MAP_INCLUDED
--- NEW FILE: set ---
#ifndef FAKESTL_SET_INCLUDED
# define FAKESTL_SET_INCLUDED
/// \cond fakestl
namespace std {
template<typename T> class allocator;
template< typename value_type, typename alloc=allocator<value_type> >
class set
{
};
template< typename value_type, typename alloc=allocator<value_type> >
class multiset
{
};
} // namespace std
/// \endcond
#endif // FAKESTL_SET_INCLUDED
--- NEW FILE: string ---
#ifndef FAKESTL_STRING_INCLUDED
# define FAKESTL_STRING_INCLUDED
/// \cond fakestl
namespace std {
template<typename T> class allocator;
template<typename T> class char_traits;
template< typename char_type,
typename traits=char_traits<char_type>,
typename alloc=allocator<char_type> >
class basic_string
{
};
typedef basic_string<char> string;
} // namespace std
/// \endcond
#endif // FAKESTL_STRING_INCLUDED
--- NEW FILE: deque ---
#ifndef FAKESTL_DEQUE_INCLUDED
# define FAKESTL_DEQUE_INCLUDED
/// \cond fakestl
namespace std {
template<typename T> class allocator;
template< typename value_type, typename alloc=allocator<value_type> >
class deque
{
};
} // namespace std
/// \endcond
#endif // FAKESTL_DEQUE_INCLUDED
--- NEW FILE: stdexcept ---
#ifndef FAKESTL_STDEXCEPT_INCLUDED
# define FAKESTL_STDEXCEPT_INCLUDED
/// \cond fakestl
namespace std {
class exception
{
public:
virtual ~exception() throw() {}
};
class runtime_error : public exception
{
public:
virtual ~runtime_error() throw() {}
};
} // namespace std
/// \endcond
#endif // FAKESTL_STDEXCEPT_INCLUDED
--- NEW FILE: vector ---
#ifndef FAKESTL_VECTOR_INCLUDED
# define FAKESTL_VECTOR_INCLUDED
/// \cond fakestl
namespace std {
template<typename T> class allocator;
template< typename value_type, typename alloc=allocator<value_type> >
class vector
{
};
} // namespace std
/// \endcond
#endif // FAKESTL_VECTOR_INCLUDED
|