ProteoWizard
Std.hpp
Go to the documentation of this file.
1//
2// $Id: Exception.hpp 2008 2010-05-29 02:46:49Z brendanx $
3//
4//
5// Original author: Matt Chambers <matt.chambers .@. vanderbilt.edu>
6//
7// Copyright 2010 Vanderbilt University - Nashville, TN 37232
8//
9// Licensed under the Apache License, Version 2.0 (the "License");
10// you may not use this file except in compliance with the License.
11// You may obtain a copy of the License at
12//
13// http://www.apache.org/licenses/LICENSE-2.0
14//
15// Unless required by applicable law or agreed to in writing, software
16// distributed under the License is distributed on an "AS IS" BASIS,
17// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18// See the License for the specific language governing permissions and
19// limitations under the License.
20//
21
22#ifndef _STD_HPP_
23#define _STD_HPP_
24
25// a meta-header providing including common std headers and using common std classes;
26// note that Filesystem.hpp is not included since it depends on Filesystem.cpp
27
33
34#include <limits>
35using std::numeric_limits;
36
37#include <cmath>
38#include <complex>
40using std::abs;
41using std::min;
42using std::max;
43using std::complex;
44
45using std::swap;
46using std::copy;
47
48using std::locale;
49
50#include <memory>
51#include <boost/smart_ptr.hpp>
52using std::auto_ptr;
53using boost::shared_ptr;
54using boost::weak_ptr;
55using boost::scoped_ptr;
56
57using std::exception;
58using std::runtime_error;
59using std::out_of_range;
60using std::domain_error;
61using std::invalid_argument;
62using std::length_error;
63using std::logic_error;
64using std::overflow_error;
65using std::range_error;
66using std::underflow_error;
67
68#endif // _STD_HPP_
void swap(pwiz::util::BinaryData< T > &lhs, std::vector< T > &rhs)