Mercurial > hg > vamp-build-and-test
annotate DEPENDENCIES/generic/include/boost/assign/std/list.hpp @ 125:34e428693f5d vext
Vext -> Repoint
author | Chris Cannam |
---|---|
date | Thu, 14 Jun 2018 11:15:39 +0100 |
parents | c530137014c0 |
children |
rev | line source |
---|---|
Chris@16 | 1 // Boost.Assign library |
Chris@16 | 2 // |
Chris@16 | 3 // Copyright Thorsten Ottosen 2003-2004. Use, modification and |
Chris@16 | 4 // distribution is subject to the Boost Software License, Version |
Chris@16 | 5 // 1.0. (See accompanying file LICENSE_1_0.txt or copy at |
Chris@16 | 6 // http://www.boost.org/LICENSE_1_0.txt) |
Chris@16 | 7 // |
Chris@16 | 8 // For more information, see http://www.boost.org/libs/assign/ |
Chris@16 | 9 // |
Chris@16 | 10 |
Chris@16 | 11 |
Chris@16 | 12 #ifndef BOOST_ASSIGN_STD_LIST_HPP |
Chris@16 | 13 #define BOOST_ASSIGN_STD_LIST_HPP |
Chris@16 | 14 |
Chris@101 | 15 #if defined(_MSC_VER) |
Chris@16 | 16 # pragma once |
Chris@16 | 17 #endif |
Chris@16 | 18 |
Chris@16 | 19 #include <boost/assign/list_inserter.hpp> |
Chris@16 | 20 #include <boost/config.hpp> |
Chris@16 | 21 #include <list> |
Chris@16 | 22 |
Chris@16 | 23 namespace boost |
Chris@16 | 24 { |
Chris@16 | 25 namespace assign |
Chris@16 | 26 { |
Chris@16 | 27 |
Chris@16 | 28 template< class V, class A, class V2 > |
Chris@16 | 29 inline list_inserter< assign_detail::call_push_back< std::list<V,A> >, V > |
Chris@16 | 30 operator+=( std::list<V,A>& c, V2 v ) |
Chris@16 | 31 { |
Chris@16 | 32 return push_back( c )( v ); |
Chris@16 | 33 } |
Chris@16 | 34 |
Chris@16 | 35 } |
Chris@16 | 36 } |
Chris@16 | 37 |
Chris@16 | 38 #endif |