ProteoWizard
Classes | Namespaces | Functions
BinaryData.hpp File Reference
#include <algorithm>
#include <vector>
#include <stdexcept>
#include <memory>
#include <iterator>
#include <limits>
#include <boost/assert.hpp>
#include "pwiz/utility/misc/Export.hpp"

Go to the source code of this file.

Classes

class  pwiz::util::BinaryData< T >
 A custom vector class that can store its contents in either a std::vector or a cli::array (when compiled with .NET). More...
 
class  pwiz::util::BinaryData< T >::const_iterator
 
class  pwiz::util::BinaryData< T >::iterator
 

Namespaces

 pwiz
 
 pwiz::util
 

Functions

template<typename T >
void std::swap (pwiz::util::BinaryData< T > &lhs, std::vector< T > &rhs)
 
template<typename T >
void std::swap (std::vector< T > &lhs, pwiz::util::BinaryData< T > &rhs)
 

Function Documentation

◆ swap() [1/2]

template<typename T >
void std::swap ( pwiz::util::BinaryData< T > &  lhs,
std::vector< T > &  rhs 
)

Definition at line 414 of file BinaryData.hpp.

414 { lhs.swap(rhs); }

References pwiz::util::BinaryData< T >::swap(), and std::swap().

Referenced by std::swap().

◆ swap() [2/2]

template<typename T >
void std::swap ( std::vector< T > &  lhs,
pwiz::util::BinaryData< T > &  rhs 
)

Definition at line 415 of file BinaryData.hpp.

415 { rhs.swap(lhs); }

References pwiz::util::BinaryData< T >::swap(), and std::swap().

pwiz::util::BinaryData::swap
void swap(BinaryData &that)
Definition: BinaryData.hpp:282