4.6.1
Freundlich's C++ toolkit
All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages Concepts
fcppt.container.raw_vector

Description

A container for POD types that can be initialized from a buffer.

An fcppt::container::raw_vector::object is similar to a std::vector, except that it only holds POD types. The main purpose of this container is to be initialized from an fcppt::container::buffer::object. It can, however, also be initialized in regular ways like fcppt::algorithm::map or by using one of its constructors that are similar to the constructors of std::vector.

Classes

class  fcppt::container::raw_vector::object< T, A >
 A special vector class that can handle uninitialized memory. More...
 
class  fcppt::container::raw_vector::rep< A >
 The representation of a raw vector. More...
 

Functions

template<typename T, typename A>
bool fcppt::container::raw_vector::operator== (fcppt::container::raw_vector::object< T, A > const &_left, fcppt::container::raw_vector::object< T, A > const &_right)
 
template<typename T, typename A>
bool fcppt::container::raw_vector::operator!= (fcppt::container::raw_vector::object< T, A > const &_left, fcppt::container::raw_vector::object< T, A > const &_right)
 
template<typename T, typename A>
void fcppt::container::raw_vector::swap (fcppt::container::raw_vector::object< T, A > &, fcppt::container::raw_vector::object< T, A > &) noexcept
 
template<typename Ch, typename Traits, typename Type, typename Alloc>
std::basic_ostream< Ch, Traits > & fcppt::container::raw_vector::operator<< (std::basic_ostream< Ch, Traits > &_stream, fcppt::container::raw_vector::object< Type, Alloc > const &_vector)
 Outputs a raw vector to a stream.
 

Function Documentation

◆ operator!=()

template<typename T, typename A>
bool fcppt::container::raw_vector::operator!= ( fcppt::container::raw_vector::object< T, A > const & _left,
fcppt::container::raw_vector::object< T, A > const & _right )
inline

◆ operator<<()

template<typename Ch, typename Traits, typename Type, typename Alloc>
std::basic_ostream< Ch, Traits > & fcppt::container::raw_vector::operator<< ( std::basic_ostream< Ch, Traits > & _stream,
fcppt::container::raw_vector::object< Type, Alloc > const & _vector )

Outputs a raw vector to a stream.

◆ operator==()

template<typename T, typename A>
bool fcppt::container::raw_vector::operator== ( fcppt::container::raw_vector::object< T, A > const & _left,
fcppt::container::raw_vector::object< T, A > const & _right )

◆ swap()

template<typename T, typename A>
void fcppt::container::raw_vector::swap ( fcppt::container::raw_vector::object< T, A > & ,
fcppt::container::raw_vector::object< T, A > &  )
noexcept