X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=boost%2Fboost%2Fformat%2Fgroup.hpp;h=c586b2a6171ce2db60ca08d02389099a46b90329;hb=c48091f33a773732fa6c789927e5833e44108d9d;hp=5545e57fa6a2ae76fac80e8a3ad9480a034d695d;hpb=786216c0899498434cab9f33780f9c178a0a4006;p=lyx.git diff --git a/boost/boost/format/group.hpp b/boost/boost/format/group.hpp index 5545e57fa6..c586b2a617 100644 --- a/boost/boost/format/group.hpp +++ b/boost/boost/format/group.hpp @@ -1,28 +1,22 @@ -// -*- C++ -*- -// Boost general library 'format' --------------------------- -// See http://www.boost.org for updates, documentation, and revision history. +// ---------------------------------------------------------------------------- +// group.hpp : encapsulates a group of manipulators along with an argument +// ---------------------------------------------------------------------------- -// (C) Samuel Krempp 2001 -// krempp@crans.ens-cachan.fr -// Permission to copy, use, modify, sell and -// distribute this software is granted provided this copyright notice appears -// in all copies. This software is provided "as is" without express or implied -// warranty, and with no claim as to its suitability for any purpose. +// Copyright Samuel Krempp 2003. Use, modification, and distribution are +// subject to the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) -// ideas taken from RĂ¼diger Loos's format class -// and Karl Nelson's ofstream +// See http://www.boost.org/libs/format for library home page // ---------------------------------------------------------------------------- -// group.hpp : encapsulates a group of manipulators along with an argument -// + // group_head : cut the last element of a group out. // (is overloaded below on each type of group) // group_last : returns the last element of a group // (is overloaded below on each type of group) - // ---------------------------------------------------------------------------- @@ -61,6 +55,8 @@ struct group1 group1(T1 a1) : a1_(a1) {} +private: + group1& operator=(const group1&); }; template @@ -84,6 +80,8 @@ struct group2 group2(T1 a1,T2 a2) : a1_(a1),a2_(a2) {} +private: + group2& operator=(const group2&); }; template @@ -105,6 +103,8 @@ struct group3 group3(T1 a1,T2 a2,T3 a3) : a1_(a1),a2_(a2),a3_(a3) {} +private: + group3& operator=(const group3&); }; template @@ -127,6 +127,8 @@ struct group4 group4(T1 a1,T2 a2,T3 a3,T4 a4) : a1_(a1),a2_(a2),a3_(a3),a4_(a4) {} +private: + group4& operator=(const group4&); }; template @@ -671,7 +673,7 @@ detail::group1< detail::group10 > } -#endif //end- #ifndef BOOST_NO_OVERLOAD_FOR_NON_CONST +#endif // - BOOST_NO_OVERLOAD_FOR_NON_CONST } // namespace io