aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/restricted
diff options
context:
space:
mode:
authorVlad Yaroslavlev <vladon@vladon.com>2022-02-10 16:46:23 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:23 +0300
commit706b83ed7de5a473436620367af31fc0ceecde07 (patch)
tree103305d30dec77e8f6367753367f59b3cd68f9f1 /contrib/restricted
parent918e8a1574070d0ec733f0b76cfad8f8892ad2e5 (diff)
downloadydb-706b83ed7de5a473436620367af31fc0ceecde07.tar.gz
Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. Commit 1 of 2.
Diffstat (limited to 'contrib/restricted')
-rw-r--r--contrib/restricted/boost/boost/coroutine2/detail/pull_control_block_cc.ipp14
-rw-r--r--contrib/restricted/boost/boost/coroutine2/detail/push_control_block_cc.ipp14
-rw-r--r--contrib/restricted/boost/boost/date_time/gregorian/gregorian_io.hpp210
-rw-r--r--contrib/restricted/boost/boost/date_time/posix_time/posix_time_io.hpp94
-rw-r--r--contrib/restricted/boost/boost/geometry/formulas/vincenty_inverse.hpp14
-rw-r--r--contrib/restricted/boost/boost/geometry/index/detail/rtree/pack_create.hpp24
-rw-r--r--contrib/restricted/boost/boost/graph/detail/adjacency_list.hpp18
-rw-r--r--contrib/restricted/boost/boost/graph/named_graph.hpp14
-rw-r--r--contrib/restricted/boost/boost/interprocess/segment_manager.hpp18
-rw-r--r--contrib/restricted/boost/boost/spirit/home/classic/core/non_terminal/subrule.hpp14
10 files changed, 217 insertions, 217 deletions
diff --git a/contrib/restricted/boost/boost/coroutine2/detail/pull_control_block_cc.ipp b/contrib/restricted/boost/boost/coroutine2/detail/pull_control_block_cc.ipp
index 9240c4619a..7a41239f3b 100644
--- a/contrib/restricted/boost/boost/coroutine2/detail/pull_control_block_cc.ipp
+++ b/contrib/restricted/boost/boost/coroutine2/detail/pull_control_block_cc.ipp
@@ -21,11 +21,11 @@
#include <boost/coroutine2/detail/forced_unwind.hpp>
#include <boost/coroutine2/detail/wrap.hpp>
-#include <util/system/compiler.h>
-
-Y_PRAGMA_DIAGNOSTIC_PUSH
-Y_PRAGMA_NO_WSHADOW
-
+#include <util/system/compiler.h>
+
+Y_PRAGMA_DIAGNOSTIC_PUSH
+Y_PRAGMA_NO_WSHADOW
+
#ifdef BOOST_HAS_ABI_HEADERS
# include BOOST_ABI_PREFIX
#endif
@@ -419,6 +419,6 @@ pull_coroutine< void >::control_block::valid() const noexcept {
# include BOOST_ABI_SUFFIX
#endif
-Y_PRAGMA_DIAGNOSTIC_POP
-
+Y_PRAGMA_DIAGNOSTIC_POP
+
#endif // BOOST_COROUTINES2_DETAIL_PULL_CONTROL_BLOCK_IPP
diff --git a/contrib/restricted/boost/boost/coroutine2/detail/push_control_block_cc.ipp b/contrib/restricted/boost/boost/coroutine2/detail/push_control_block_cc.ipp
index 8297dd1754..b2589e5c02 100644
--- a/contrib/restricted/boost/boost/coroutine2/detail/push_control_block_cc.ipp
+++ b/contrib/restricted/boost/boost/coroutine2/detail/push_control_block_cc.ipp
@@ -20,11 +20,11 @@
#include <boost/coroutine2/detail/forced_unwind.hpp>
#include <boost/coroutine2/detail/wrap.hpp>
-#include <util/system/compiler.h>
-
-Y_PRAGMA_DIAGNOSTIC_PUSH
-Y_PRAGMA_NO_WSHADOW
-
+#include <util/system/compiler.h>
+
+Y_PRAGMA_DIAGNOSTIC_PUSH
+Y_PRAGMA_NO_WSHADOW
+
#ifdef BOOST_HAS_ABI_HEADERS
# include BOOST_ABI_PREFIX
#endif
@@ -380,6 +380,6 @@ push_coroutine< void >::control_block::valid() const noexcept {
# include BOOST_ABI_SUFFIX
#endif
-Y_PRAGMA_DIAGNOSTIC_POP
-
+Y_PRAGMA_DIAGNOSTIC_POP
+
#endif // BOOST_COROUTINES2_DETAIL_PUSH_CONTROL_BLOCK_IPP
diff --git a/contrib/restricted/boost/boost/date_time/gregorian/gregorian_io.hpp b/contrib/restricted/boost/boost/date_time/gregorian/gregorian_io.hpp
index 7da718f8a0..e45ac54d37 100644
--- a/contrib/restricted/boost/boost/date_time/gregorian/gregorian_io.hpp
+++ b/contrib/restricted/boost/boost/date_time/gregorian/gregorian_io.hpp
@@ -21,29 +21,29 @@
#include <boost/date_time/gregorian/gregorian_types.hpp>
#include <boost/date_time/gregorian/conversion.hpp> // to_tm will be needed in the facets
-#include <util/system/compiler.h>
-Y_PRAGMA_DIAGNOSTIC_PUSH
-Y_PRAGMA_NO_WSHADOW
-
+#include <util/system/compiler.h>
+Y_PRAGMA_DIAGNOSTIC_PUSH
+Y_PRAGMA_NO_WSHADOW
+
namespace boost {
namespace gregorian {
typedef boost::date_time::period_formatter<wchar_t> wperiod_formatter;
typedef boost::date_time::period_formatter<char> period_formatter;
-
+
typedef boost::date_time::date_facet<date,wchar_t> wdate_facet;
typedef boost::date_time::date_facet<date,char> date_facet;
typedef boost::date_time::period_parser<date,char> period_parser;
typedef boost::date_time::period_parser<date,wchar_t> wperiod_parser;
-
- typedef boost::date_time::special_values_formatter<char> special_values_formatter;
- typedef boost::date_time::special_values_formatter<wchar_t> wspecial_values_formatter;
-
- typedef boost::date_time::special_values_parser<date,char> special_values_parser;
- typedef boost::date_time::special_values_parser<date,wchar_t> wspecial_values_parser;
-
+
+ typedef boost::date_time::special_values_formatter<char> special_values_formatter;
+ typedef boost::date_time::special_values_formatter<wchar_t> wspecial_values_formatter;
+
+ typedef boost::date_time::special_values_parser<date,char> special_values_parser;
+ typedef boost::date_time::special_values_parser<date,wchar_t> wspecial_values_parser;
+
typedef boost::date_time::date_input_facet<date,char> date_input_facet;
typedef boost::date_time::date_input_facet<date,wchar_t> wdate_input_facet;
@@ -57,7 +57,7 @@ namespace gregorian {
std::use_facet<custom_date_facet>(os.getloc()).put(output_itr, os, os.fill(), d);
else {
//instantiate a custom facet for dealing with dates since the user
- //has not put one in the stream so far. This is for efficiency
+ //has not put one in the stream so far. This is for efficiency
//since we would always need to reconstruct for every date
//if the locale did not already exist. Of course this will be overridden
//if the user imbues at some later point. With the default settings
@@ -94,23 +94,23 @@ namespace gregorian {
f->get(sit, str_end, is, d);
}
}
- catch(...) {
+ catch(...) {
// mask tells us what exceptions are turned on
std::ios_base::iostate exception_mask = is.exceptions();
- // if the user wants exceptions on failbit, we'll rethrow our
+ // if the user wants exceptions on failbit, we'll rethrow our
// date_time exception & set the failbit
if(std::ios_base::failbit & exception_mask) {
- try { is.setstate(std::ios_base::failbit); }
+ try { is.setstate(std::ios_base::failbit); }
catch(std::ios_base::failure&) {} // ignore this one
throw; // rethrow original exception
}
else {
// if the user want's to fail quietly, we simply set the failbit
- is.setstate(std::ios_base::failbit);
- }
-
+ is.setstate(std::ios_base::failbit);
+ }
+
}
- }
+ }
return is;
}
@@ -155,17 +155,17 @@ namespace gregorian {
f->get(sit, str_end, is, dd);
}
}
- catch(...) {
+ catch(...) {
std::ios_base::iostate exception_mask = is.exceptions();
if(std::ios_base::failbit & exception_mask) {
- try { is.setstate(std::ios_base::failbit); }
+ try { is.setstate(std::ios_base::failbit); }
catch(std::ios_base::failure&) {}
throw; // rethrow original exception
}
else {
- is.setstate(std::ios_base::failbit);
- }
-
+ is.setstate(std::ios_base::failbit);
+ }
+
}
}
return is;
@@ -181,7 +181,7 @@ namespace gregorian {
std::use_facet<custom_date_facet>(os.getloc()).put(output_itr, os, os.fill(), dp);
else {
//instantiate a custom facet for dealing with date periods since the user
- //has not put one in the stream so far. This is for efficiency
+ //has not put one in the stream so far. This is for efficiency
//since we would always need to reconstruct for every time period
//if the local did not already exist. Of course this will be overridden
//if the user imbues at some later point. With the default settings
@@ -196,14 +196,14 @@ namespace gregorian {
return os;
}
- //! input operator for date_period
+ //! input operator for date_period
template <class CharT, class Traits>
inline
std::basic_istream<CharT, Traits>&
operator>>(std::basic_istream<CharT, Traits>& is, date_period& dp)
{
boost::io::ios_flags_saver iflags(is);
- typename std::basic_istream<CharT, Traits>::sentry strm_sentry(is, false);
+ typename std::basic_istream<CharT, Traits>::sentry strm_sentry(is, false);
if (strm_sentry) {
try {
typedef typename date_time::date_input_facet<date, CharT> date_input_facet_local;
@@ -219,24 +219,24 @@ namespace gregorian {
f->get(sit, str_end, is, dp);
}
}
- catch(...) {
+ catch(...) {
std::ios_base::iostate exception_mask = is.exceptions();
if(std::ios_base::failbit & exception_mask) {
- try { is.setstate(std::ios_base::failbit); }
+ try { is.setstate(std::ios_base::failbit); }
catch(std::ios_base::failure&) {}
throw; // rethrow original exception
}
else {
- is.setstate(std::ios_base::failbit);
- }
-
+ is.setstate(std::ios_base::failbit);
+ }
+
}
}
return is;
}
/********** small gregorian types **********/
-
+
template <class CharT, class TraitsT>
inline std::basic_ostream<CharT, TraitsT>&
operator<<(std::basic_ostream<CharT, TraitsT>& os, const boost::gregorian::greg_month& gm) {
@@ -262,7 +262,7 @@ namespace gregorian {
operator>>(std::basic_istream<CharT, Traits>& is, greg_month& m)
{
boost::io::ios_flags_saver iflags(is);
- typename std::basic_istream<CharT, Traits>::sentry strm_sentry(is, false);
+ typename std::basic_istream<CharT, Traits>::sentry strm_sentry(is, false);
if (strm_sentry) {
try {
typedef typename date_time::date_input_facet<date, CharT> date_input_facet_local;
@@ -278,17 +278,17 @@ namespace gregorian {
f->get(sit, str_end, is, m);
}
}
- catch(...) {
+ catch(...) {
std::ios_base::iostate exception_mask = is.exceptions();
if(std::ios_base::failbit & exception_mask) {
- try { is.setstate(std::ios_base::failbit); }
+ try { is.setstate(std::ios_base::failbit); }
catch(std::ios_base::failure&) {}
throw; // rethrow original exception
}
else {
- is.setstate(std::ios_base::failbit);
- }
-
+ is.setstate(std::ios_base::failbit);
+ }
+
}
}
return is;
@@ -311,7 +311,7 @@ namespace gregorian {
}
return os;
}
-
+
//! input operator for greg_weekday
template <class CharT, class Traits>
inline
@@ -319,7 +319,7 @@ namespace gregorian {
operator>>(std::basic_istream<CharT, Traits>& is, greg_weekday& wd)
{
boost::io::ios_flags_saver iflags(is);
- typename std::basic_istream<CharT, Traits>::sentry strm_sentry(is, false);
+ typename std::basic_istream<CharT, Traits>::sentry strm_sentry(is, false);
if (strm_sentry) {
try {
typedef typename date_time::date_input_facet<date, CharT> date_input_facet_local;
@@ -335,17 +335,17 @@ namespace gregorian {
f->get(sit, str_end, is, wd);
}
}
- catch(...) {
+ catch(...) {
std::ios_base::iostate exception_mask = is.exceptions();
if(std::ios_base::failbit & exception_mask) {
- try { is.setstate(std::ios_base::failbit); }
+ try { is.setstate(std::ios_base::failbit); }
catch(std::ios_base::failure&) {}
throw; // rethrow original exception
}
else {
- is.setstate(std::ios_base::failbit);
- }
-
+ is.setstate(std::ios_base::failbit);
+ }
+
}
}
return is;
@@ -360,7 +360,7 @@ namespace gregorian {
operator>>(std::basic_istream<CharT, Traits>& is, greg_day& gd)
{
boost::io::ios_flags_saver iflags(is);
- typename std::basic_istream<CharT, Traits>::sentry strm_sentry(is, false);
+ typename std::basic_istream<CharT, Traits>::sentry strm_sentry(is, false);
if (strm_sentry) {
try {
typedef typename date_time::date_input_facet<date, CharT> date_input_facet_local;
@@ -376,17 +376,17 @@ namespace gregorian {
f->get(sit, str_end, is, gd);
}
}
- catch(...) {
+ catch(...) {
std::ios_base::iostate exception_mask = is.exceptions();
if(std::ios_base::failbit & exception_mask) {
- try { is.setstate(std::ios_base::failbit); }
+ try { is.setstate(std::ios_base::failbit); }
catch(std::ios_base::failure&) {}
throw; // rethrow original exception
}
else {
- is.setstate(std::ios_base::failbit);
- }
-
+ is.setstate(std::ios_base::failbit);
+ }
+
}
}
return is;
@@ -401,7 +401,7 @@ namespace gregorian {
operator>>(std::basic_istream<CharT, Traits>& is, greg_year& gy)
{
boost::io::ios_flags_saver iflags(is);
- typename std::basic_istream<CharT, Traits>::sentry strm_sentry(is, false);
+ typename std::basic_istream<CharT, Traits>::sentry strm_sentry(is, false);
if (strm_sentry) {
try {
typedef typename date_time::date_input_facet<date, CharT> date_input_facet_local;
@@ -417,24 +417,24 @@ namespace gregorian {
f->get(sit, str_end, is, gy);
}
}
- catch(...) {
+ catch(...) {
std::ios_base::iostate exception_mask = is.exceptions();
if(std::ios_base::failbit & exception_mask) {
- try { is.setstate(std::ios_base::failbit); }
+ try { is.setstate(std::ios_base::failbit); }
catch(std::ios_base::failure&) {}
throw; // rethrow original exception
}
else {
- is.setstate(std::ios_base::failbit);
- }
-
+ is.setstate(std::ios_base::failbit);
+ }
+
}
}
return is;
}
/********** date generator types **********/
-
+
template <class CharT, class TraitsT>
inline std::basic_ostream<CharT, TraitsT>&
operator<<(std::basic_ostream<CharT, TraitsT>& os, const boost::gregorian::partial_date& pd) {
@@ -459,7 +459,7 @@ namespace gregorian {
operator>>(std::basic_istream<CharT, Traits>& is, partial_date& pd)
{
boost::io::ios_flags_saver iflags(is);
- typename std::basic_istream<CharT, Traits>::sentry strm_sentry(is, false);
+ typename std::basic_istream<CharT, Traits>::sentry strm_sentry(is, false);
if (strm_sentry) {
try {
typedef typename date_time::date_input_facet<date, CharT> date_input_facet_local;
@@ -475,17 +475,17 @@ namespace gregorian {
f->get(sit, str_end, is, pd);
}
}
- catch(...) {
+ catch(...) {
std::ios_base::iostate exception_mask = is.exceptions();
if(std::ios_base::failbit & exception_mask) {
- try { is.setstate(std::ios_base::failbit); }
+ try { is.setstate(std::ios_base::failbit); }
catch(std::ios_base::failure&) {}
throw; // rethrow original exception
}
else {
- is.setstate(std::ios_base::failbit);
- }
-
+ is.setstate(std::ios_base::failbit);
+ }
+
}
}
return is;
@@ -512,11 +512,11 @@ namespace gregorian {
template <class CharT, class Traits>
inline
std::basic_istream<CharT, Traits>&
- operator>>(std::basic_istream<CharT, Traits>& is,
+ operator>>(std::basic_istream<CharT, Traits>& is,
nth_day_of_the_week_in_month& nday)
{
boost::io::ios_flags_saver iflags(is);
- typename std::basic_istream<CharT, Traits>::sentry strm_sentry(is, false);
+ typename std::basic_istream<CharT, Traits>::sentry strm_sentry(is, false);
if (strm_sentry) {
try {
typedef typename date_time::date_input_facet<date, CharT> date_input_facet_local;
@@ -532,17 +532,17 @@ namespace gregorian {
f->get(sit, str_end, is, nday);
}
}
- catch(...) {
+ catch(...) {
std::ios_base::iostate exception_mask = is.exceptions();
if(std::ios_base::failbit & exception_mask) {
- try { is.setstate(std::ios_base::failbit); }
+ try { is.setstate(std::ios_base::failbit); }
catch(std::ios_base::failure&) {}
throw; // rethrow original exception
}
else {
- is.setstate(std::ios_base::failbit);
- }
-
+ is.setstate(std::ios_base::failbit);
+ }
+
}
}
return is;
@@ -570,11 +570,11 @@ namespace gregorian {
template <class CharT, class Traits>
inline
std::basic_istream<CharT, Traits>&
- operator>>(std::basic_istream<CharT, Traits>& is,
+ operator>>(std::basic_istream<CharT, Traits>& is,
first_day_of_the_week_in_month& fkd)
{
boost::io::ios_flags_saver iflags(is);
- typename std::basic_istream<CharT, Traits>::sentry strm_sentry(is, false);
+ typename std::basic_istream<CharT, Traits>::sentry strm_sentry(is, false);
if (strm_sentry) {
try {
typedef typename date_time::date_input_facet<date, CharT> date_input_facet_local;
@@ -590,17 +590,17 @@ namespace gregorian {
f->get(sit, str_end, is, fkd);
}
}
- catch(...) {
+ catch(...) {
std::ios_base::iostate exception_mask = is.exceptions();
if(std::ios_base::failbit & exception_mask) {
- try { is.setstate(std::ios_base::failbit); }
+ try { is.setstate(std::ios_base::failbit); }
catch(std::ios_base::failure&) {}
throw; // rethrow original exception
}
else {
- is.setstate(std::ios_base::failbit);
- }
-
+ is.setstate(std::ios_base::failbit);
+ }
+
}
}
return is;
@@ -628,11 +628,11 @@ namespace gregorian {
template <class CharT, class Traits>
inline
std::basic_istream<CharT, Traits>&
- operator>>(std::basic_istream<CharT, Traits>& is,
+ operator>>(std::basic_istream<CharT, Traits>& is,
last_day_of_the_week_in_month& lkd)
{
boost::io::ios_flags_saver iflags(is);
- typename std::basic_istream<CharT, Traits>::sentry strm_sentry(is, false);
+ typename std::basic_istream<CharT, Traits>::sentry strm_sentry(is, false);
if (strm_sentry) {
try {
typedef typename date_time::date_input_facet<date, CharT> date_input_facet_local;
@@ -648,17 +648,17 @@ namespace gregorian {
f->get(sit, str_end, is, lkd);
}
}
- catch(...) {
+ catch(...) {
std::ios_base::iostate exception_mask = is.exceptions();
if(std::ios_base::failbit & exception_mask) {
- try { is.setstate(std::ios_base::failbit); }
+ try { is.setstate(std::ios_base::failbit); }
catch(std::ios_base::failure&) {}
throw; // rethrow original exception
}
else {
- is.setstate(std::ios_base::failbit);
- }
-
+ is.setstate(std::ios_base::failbit);
+ }
+
}
}
return is;
@@ -673,7 +673,7 @@ namespace gregorian {
std::ostreambuf_iterator<CharT> output_itr(os);
if (std::has_facet<custom_date_facet>(os.getloc())) {
std::use_facet<custom_date_facet>(os.getloc()).put(output_itr, os, os.fill(), fda);
- }
+ }
else {
custom_date_facet* f = new custom_date_facet();
std::locale l = std::locale(os.getloc(), f);
@@ -687,11 +687,11 @@ namespace gregorian {
template <class CharT, class Traits>
inline
std::basic_istream<CharT, Traits>&
- operator>>(std::basic_istream<CharT, Traits>& is,
+ operator>>(std::basic_istream<CharT, Traits>& is,
first_day_of_the_week_after& fka)
{
boost::io::ios_flags_saver iflags(is);
- typename std::basic_istream<CharT, Traits>::sentry strm_sentry(is, false);
+ typename std::basic_istream<CharT, Traits>::sentry strm_sentry(is, false);
if (strm_sentry) {
try {
typedef typename date_time::date_input_facet<date, CharT> date_input_facet_local;
@@ -707,17 +707,17 @@ namespace gregorian {
f->get(sit, str_end, is, fka);
}
}
- catch(...) {
+ catch(...) {
std::ios_base::iostate exception_mask = is.exceptions();
if(std::ios_base::failbit & exception_mask) {
- try { is.setstate(std::ios_base::failbit); }
+ try { is.setstate(std::ios_base::failbit); }
catch(std::ios_base::failure&) {}
throw; // rethrow original exception
}
else {
- is.setstate(std::ios_base::failbit);
- }
-
+ is.setstate(std::ios_base::failbit);
+ }
+
}
}
return is;
@@ -746,11 +746,11 @@ namespace gregorian {
template <class CharT, class Traits>
inline
std::basic_istream<CharT, Traits>&
- operator>>(std::basic_istream<CharT, Traits>& is,
+ operator>>(std::basic_istream<CharT, Traits>& is,
first_day_of_the_week_before& fkb)
{
boost::io::ios_flags_saver iflags(is);
- typename std::basic_istream<CharT, Traits>::sentry strm_sentry(is, false);
+ typename std::basic_istream<CharT, Traits>::sentry strm_sentry(is, false);
if (strm_sentry) {
try {
typedef typename date_time::date_input_facet<date, CharT> date_input_facet_local;
@@ -766,25 +766,25 @@ namespace gregorian {
f->get(sit, str_end, is, fkb);
}
}
- catch(...) {
+ catch(...) {
std::ios_base::iostate exception_mask = is.exceptions();
if(std::ios_base::failbit & exception_mask) {
- try { is.setstate(std::ios_base::failbit); }
+ try { is.setstate(std::ios_base::failbit); }
catch(std::ios_base::failure&) {}
throw; // rethrow original exception
}
else {
- is.setstate(std::ios_base::failbit);
- }
-
+ is.setstate(std::ios_base::failbit);
+ }
+
}
}
return is;
}
-
+
} } // namespaces
-Y_PRAGMA_DIAGNOSTIC_POP
-
+Y_PRAGMA_DIAGNOSTIC_POP
+
#endif // DATE_TIME_GREGORIAN_IO_HPP__
diff --git a/contrib/restricted/boost/boost/date_time/posix_time/posix_time_io.hpp b/contrib/restricted/boost/boost/date_time/posix_time/posix_time_io.hpp
index 659253b825..e85ec55242 100644
--- a/contrib/restricted/boost/boost/date_time/posix_time/posix_time_io.hpp
+++ b/contrib/restricted/boost/boost/date_time/posix_time/posix_time_io.hpp
@@ -20,8 +20,8 @@
#include <boost/date_time/posix_time/posix_time_duration.hpp>
#include <boost/date_time/posix_time/conversion.hpp> // to_tm will be needed in the facets
-#include <util/system/compiler.h>
-
+#include <util/system/compiler.h>
+
namespace boost {
namespace posix_time {
@@ -54,7 +54,7 @@ namespace posix_time {
std::use_facet<custom_ptime_facet>(os.getloc()).put(oitr, os, os.fill(), p);
else {
//instantiate a custom facet for dealing with times since the user
- //has not put one in the stream so far. This is for efficiency
+ //has not put one in the stream so far. This is for efficiency
//since we would always need to reconstruct for every time period
//if the locale did not already exist. Of course this will be overridden
//if the user imbues as some later point.
@@ -73,23 +73,23 @@ namespace posix_time {
operator>>(std::basic_istream<CharT, Traits>& is, ptime& pt)
{
boost::io::ios_flags_saver iflags(is);
-
- Y_PRAGMA_DIAGNOSTIC_PUSH
- Y_PRAGMA_NO_WSHADOW
-
+
+ Y_PRAGMA_DIAGNOSTIC_PUSH
+ Y_PRAGMA_NO_WSHADOW
+
typename std::basic_istream<CharT, Traits>::sentry strm_sentry(is, false);
-
- Y_PRAGMA_DIAGNOSTIC_POP
-
+
+ Y_PRAGMA_DIAGNOSTIC_POP
+
if (strm_sentry) {
try {
- Y_PRAGMA_DIAGNOSTIC_PUSH
- Y_PRAGMA_NO_WSHADOW
-
+ Y_PRAGMA_DIAGNOSTIC_PUSH
+ Y_PRAGMA_NO_WSHADOW
+
typedef typename date_time::time_input_facet<ptime, CharT> time_input_facet_local;
-
- Y_PRAGMA_DIAGNOSTIC_POP
-
+
+ Y_PRAGMA_DIAGNOSTIC_POP
+
std::istreambuf_iterator<CharT,Traits> sit(is), str_end;
if(std::has_facet<time_input_facet_local>(is.getloc())) {
std::use_facet<time_input_facet_local>(is.getloc()).get(sit, str_end, is, pt);
@@ -104,7 +104,7 @@ namespace posix_time {
catch(...) {
// mask tells us what exceptions are turned on
std::ios_base::iostate exception_mask = is.exceptions();
- // if the user wants exceptions on failbit, we'll rethrow our
+ // if the user wants exceptions on failbit, we'll rethrow our
// date_time exception & set the failbit
if(std::ios_base::failbit & exception_mask) {
try { is.setstate(std::ios_base::failbit); }
@@ -122,7 +122,7 @@ namespace posix_time {
template <class CharT, class TraitsT>
- inline
+ inline
std::basic_ostream<CharT, TraitsT>&
operator<<(std::basic_ostream<CharT, TraitsT>& os,
const boost::posix_time::time_period& p) {
@@ -134,7 +134,7 @@ namespace posix_time {
}
else {
//instantiate a custom facet for dealing with periods since the user
- //has not put one in the stream so far. This is for efficiency
+ //has not put one in the stream so far. This is for efficiency
//since we would always need to reconstruct for every time period
//if the local did not already exist. Of course this will be overridden
//if the user imbues as some later point.
@@ -153,23 +153,23 @@ namespace posix_time {
operator>>(std::basic_istream<CharT, Traits>& is, time_period& tp)
{
boost::io::ios_flags_saver iflags(is);
-
- Y_PRAGMA_DIAGNOSTIC_PUSH
- Y_PRAGMA_NO_WSHADOW
-
+
+ Y_PRAGMA_DIAGNOSTIC_PUSH
+ Y_PRAGMA_NO_WSHADOW
+
typename std::basic_istream<CharT, Traits>::sentry strm_sentry(is, false);
-
- Y_PRAGMA_DIAGNOSTIC_POP
-
+
+ Y_PRAGMA_DIAGNOSTIC_POP
+
if (strm_sentry) {
try {
- Y_PRAGMA_DIAGNOSTIC_PUSH
- Y_PRAGMA_NO_WSHADOW
-
+ Y_PRAGMA_DIAGNOSTIC_PUSH
+ Y_PRAGMA_NO_WSHADOW
+
typedef typename date_time::time_input_facet<ptime, CharT> time_input_facet_local;
-
- Y_PRAGMA_DIAGNOSTIC_POP
-
+
+ Y_PRAGMA_DIAGNOSTIC_POP
+
std::istreambuf_iterator<CharT,Traits> sit(is), str_end;
if(std::has_facet<time_input_facet_local>(is.getloc())) {
std::use_facet<time_input_facet_local>(is.getloc()).get(sit, str_end, is, tp);
@@ -197,7 +197,7 @@ namespace posix_time {
}
- //! ostream operator for posix_time::time_duration
+ //! ostream operator for posix_time::time_duration
// todo fix to use facet -- place holder for now...
template <class CharT, class Traits>
inline
@@ -211,7 +211,7 @@ namespace posix_time {
std::use_facet<custom_ptime_facet>(os.getloc()).put(oitr, os, os.fill(), td);
else {
//instantiate a custom facet for dealing with times since the user
- //has not put one in the stream so far. This is for efficiency
+ //has not put one in the stream so far. This is for efficiency
//since we would always need to reconstruct for every time period
//if the locale did not already exist. Of course this will be overridden
//if the user imbues as some later point.
@@ -230,23 +230,23 @@ namespace posix_time {
operator>>(std::basic_istream<CharT, Traits>& is, time_duration& td)
{
boost::io::ios_flags_saver iflags(is);
-
- Y_PRAGMA_DIAGNOSTIC_PUSH
- Y_PRAGMA_NO_WSHADOW
-
+
+ Y_PRAGMA_DIAGNOSTIC_PUSH
+ Y_PRAGMA_NO_WSHADOW
+
typename std::basic_istream<CharT, Traits>::sentry strm_sentry(is, false);
-
- Y_PRAGMA_DIAGNOSTIC_POP
-
+
+ Y_PRAGMA_DIAGNOSTIC_POP
+
if (strm_sentry) {
try {
- Y_PRAGMA_DIAGNOSTIC_PUSH
- Y_PRAGMA_NO_WSHADOW
-
+ Y_PRAGMA_DIAGNOSTIC_PUSH
+ Y_PRAGMA_NO_WSHADOW
+
typedef typename date_time::time_input_facet<ptime, CharT> time_input_facet_local;
-
- Y_PRAGMA_DIAGNOSTIC_POP
-
+
+ Y_PRAGMA_DIAGNOSTIC_POP
+
std::istreambuf_iterator<CharT,Traits> sit(is), str_end;
if(std::has_facet<time_input_facet_local>(is.getloc())) {
std::use_facet<time_input_facet_local>(is.getloc()).get(sit, str_end, is, td);
diff --git a/contrib/restricted/boost/boost/geometry/formulas/vincenty_inverse.hpp b/contrib/restricted/boost/boost/geometry/formulas/vincenty_inverse.hpp
index e58ac66daf..a210759aa7 100644
--- a/contrib/restricted/boost/boost/geometry/formulas/vincenty_inverse.hpp
+++ b/contrib/restricted/boost/boost/geometry/formulas/vincenty_inverse.hpp
@@ -27,11 +27,11 @@
#include <boost/geometry/formulas/flattening.hpp>
#include <boost/geometry/formulas/result_inverse.hpp>
-#include <util/system/compiler.h>
-
-Y_PRAGMA_DIAGNOSTIC_PUSH
-Y_PRAGMA_NO_WSHADOW
+#include <util/system/compiler.h>
+Y_PRAGMA_DIAGNOSTIC_PUSH
+Y_PRAGMA_NO_WSHADOW
+
#ifndef BOOST_GEOMETRY_DETAIL_VINCENTY_MAX_STEPS
#define BOOST_GEOMETRY_DETAIL_VINCENTY_MAX_STEPS 1000
#endif
@@ -163,7 +163,7 @@ public:
} while ( geometry::math::abs(previous_lambda - lambda) > c_e_12
&& geometry::math::abs(lambda) < pi
&& counter < BOOST_GEOMETRY_DETAIL_VINCENTY_MAX_STEPS ); // robustness
-
+
if ( BOOST_GEOMETRY_CONDITION(EnableDistance) )
{
// Oops getting hard here
@@ -192,7 +192,7 @@ public:
result.distance = radius_b * A * (sigma - delta_sigma); // (19)
}
-
+
if ( BOOST_GEOMETRY_CONDITION(CalcAzimuths) )
{
if (BOOST_GEOMETRY_CONDITION(CalcFwdAzimuth))
@@ -221,6 +221,6 @@ public:
}}} // namespace boost::geometry::formula
-Y_PRAGMA_DIAGNOSTIC_POP
+Y_PRAGMA_DIAGNOSTIC_POP
#endif // BOOST_GEOMETRY_FORMULAS_VINCENTY_INVERSE_HPP
diff --git a/contrib/restricted/boost/boost/geometry/index/detail/rtree/pack_create.hpp b/contrib/restricted/boost/boost/geometry/index/detail/rtree/pack_create.hpp
index eea5cf0707..1437571b3e 100644
--- a/contrib/restricted/boost/boost/geometry/index/detail/rtree/pack_create.hpp
+++ b/contrib/restricted/boost/boost/geometry/index/detail/rtree/pack_create.hpp
@@ -17,11 +17,11 @@
#include <boost/geometry/algorithms/detail/expand_by_epsilon.hpp>
-#include <util/system/compiler.h>
-
-Y_PRAGMA_DIAGNOSTIC_PUSH
-Y_PRAGMA_NO_WSHADOW
-
+#include <util/system/compiler.h>
+
+Y_PRAGMA_DIAGNOSTIC_PUSH
+Y_PRAGMA_NO_WSHADOW
+
namespace boost { namespace geometry { namespace index { namespace detail { namespace rtree {
namespace pack_utils {
@@ -157,7 +157,7 @@ public:
parameters_type const& parameters, Translator const& translator, Allocators & allocators)
{
typedef typename std::iterator_traits<InIt>::difference_type diff_type;
-
+
diff_type diff = std::distance(first, last);
if ( diff <= 0 )
return node_pointer(0);
@@ -167,7 +167,7 @@ public:
values_count = static_cast<size_type>(diff);
entries.reserve(values_count);
-
+
expandable_box<Box> hint_box;
for ( ; first != last ; ++first )
{
@@ -323,7 +323,7 @@ private:
rtree::elements(in).reserve(nodes_count); // MAY THROW (A)
// calculate values box and copy values
expandable_box<Box> elements_box;
-
+
per_level_packets(first, last, hint_box, values_count, subtree_counts, next_subtree_counts,
rtree::elements(in), elements_box,
parameters, translator, allocators);
@@ -364,7 +364,7 @@ private:
elements_box.expand(el.first);
return;
}
-
+
std::size_t median_count = calculate_median_count(values_count, subtree_counts);
EIt median = first + median_count;
@@ -374,7 +374,7 @@ private:
Box left, right;
pack_utils::nth_element_and_half_boxes<0, dimension>
::apply(first, median, last, hint_box, left, right, greatest_dim_index);
-
+
per_level_packets(first, median, left,
median_count, subtree_counts, next_subtree_counts,
elements, elements_box,
@@ -467,6 +467,6 @@ private:
}}}}} // namespace boost::geometry::index::detail::rtree
-Y_PRAGMA_DIAGNOSTIC_POP
-
+Y_PRAGMA_DIAGNOSTIC_POP
+
#endif // BOOST_GEOMETRY_INDEX_DETAIL_RTREE_PACK_CREATE_HPP
diff --git a/contrib/restricted/boost/boost/graph/detail/adjacency_list.hpp b/contrib/restricted/boost/boost/graph/detail/adjacency_list.hpp
index 90ab0ae2c6..6cc588f7ed 100644
--- a/contrib/restricted/boost/boost/graph/detail/adjacency_list.hpp
+++ b/contrib/restricted/boost/boost/graph/detail/adjacency_list.hpp
@@ -38,8 +38,8 @@
#include <boost/static_assert.hpp>
#include <boost/assert.hpp>
-#include <util/system/compiler.h>
-
+#include <util/system/compiler.h>
+
#ifdef BOOST_NO_CXX11_RVALUE_REFERENCES
#define BOOST_GRAPH_MOVE_IF_POSSIBLE(x) (x)
#else
@@ -269,7 +269,7 @@ namespace boost {
: Base(static_cast< Base const& >(x)), m_property(const_cast<self&>(x).m_property) { }
self& operator=(const self& x) {
// NOTE: avoid 'Base::operator=(x);' broken on SGI MIPSpro (bug 55771 of Mozilla).
- static_cast<Base&>(*this) = static_cast< Base const& >(x);
+ static_cast<Base&>(*this) = static_cast< Base const& >(x);
m_property = const_cast<self&>(x).m_property;
return *this;
}
@@ -279,7 +279,7 @@ namespace boost {
: Base(static_cast< Base&& >(x)), m_property(std::move(x.m_property)) { }
self& operator=(self&& x) {
// NOTE: avoid 'Base::operator=(x);' broken on SGI MIPSpro (bug 55771 of Mozilla).
- static_cast<Base&>(*this) = static_cast< Base&& >(x);
+ static_cast<Base&>(*this) = static_cast< Base&& >(x);
m_property = std::move(x.m_property);
return *this;
}
@@ -1258,9 +1258,9 @@ namespace boost {
typedef typename Config::global_edgelist_selector EdgeListS;
BOOST_STATIC_ASSERT((!is_same<EdgeListS, vecS>::value));
- Y_PRAGMA_DIAGNOSTIC_PUSH
- Y_PRAGMA_NO_WSHADOW
-
+ Y_PRAGMA_DIAGNOSTIC_PUSH
+ Y_PRAGMA_NO_WSHADOW
+
typedef typename Config::graph_type graph_type;
graph_type& g = static_cast<graph_type&>(*this);
typename Config::edge_descriptor e = *iter;
@@ -1271,8 +1271,8 @@ namespace boost {
detail::remove_directed_edge_dispatch(*iter, iel, p);
g.m_edges.erase(iter.base()->get_iter());
oel.erase(iter.base());
-
- Y_PRAGMA_DIAGNOSTIC_POP
+
+ Y_PRAGMA_DIAGNOSTIC_POP
}
};
diff --git a/contrib/restricted/boost/boost/graph/named_graph.hpp b/contrib/restricted/boost/boost/graph/named_graph.hpp
index b5bcd7708d..67cea1dcd4 100644
--- a/contrib/restricted/boost/boost/graph/named_graph.hpp
+++ b/contrib/restricted/boost/boost/graph/named_graph.hpp
@@ -32,8 +32,8 @@
#include <stdexcept> // for std::runtime_error
#include <utility> // for std::pair
-#include <util/system/compiler.h>
-
+#include <util/system/compiler.h>
+
namespace boost { namespace graph {
/*******************************************************************
@@ -313,15 +313,15 @@ template<BGL_NAMED_GRAPH_PARAMS>
template<typename VertexIterStability>
inline void BGL_NAMED_GRAPH::removing_vertex(Vertex vertex, VertexIterStability)
{
- Y_PRAGMA_DIAGNOSTIC_PUSH
- Y_PRAGMA_NO_WSHADOW
-
+ Y_PRAGMA_DIAGNOSTIC_PUSH
+ Y_PRAGMA_NO_WSHADOW
+
BOOST_STATIC_ASSERT_MSG ((boost::is_base_of<boost::graph_detail::stable_tag, VertexIterStability>::value), "Named graphs cannot use vecS as vertex container and remove vertices; the lack of vertex descriptor stability (which iterator stability is a proxy for) means that the name -> vertex mapping would need to be completely rebuilt after each deletion. See https://svn.boost.org/trac/boost/ticket/7863 for more information and a test case.");
typedef typename BGL_NAMED_GRAPH::vertex_name_type vertex_name_type;
const vertex_name_type& vertex_name = extract_name(derived()[vertex]);
named_vertices.erase(vertex_name);
-
- Y_PRAGMA_DIAGNOSTIC_POP
+
+ Y_PRAGMA_DIAGNOSTIC_POP
}
template<BGL_NAMED_GRAPH_PARAMS>
diff --git a/contrib/restricted/boost/boost/interprocess/segment_manager.hpp b/contrib/restricted/boost/boost/interprocess/segment_manager.hpp
index 7a297f934b..eabd3713fd 100644
--- a/contrib/restricted/boost/boost/interprocess/segment_manager.hpp
+++ b/contrib/restricted/boost/boost/interprocess/segment_manager.hpp
@@ -50,11 +50,11 @@
#include <exception>
#endif
-#include <util/system/compiler.h>
-
-Y_PRAGMA_DIAGNOSTIC_PUSH
-Y_PRAGMA_NO_WSHADOW
-
+#include <util/system/compiler.h>
+
+Y_PRAGMA_DIAGNOSTIC_PUSH
+Y_PRAGMA_NO_WSHADOW
+
//!\file
//!Describes the object placed in a memory segment that provides
//!named object allocation capabilities for single-segment and
@@ -1061,7 +1061,7 @@ class segment_manager
template<class CharT>
void * priv_generic_named_construct
(unsigned char type, const CharT *name, size_type num, bool try2find,
- bool dothrow, ipcdetail::in_place_interface &table,
+ bool dothrow, ipcdetail::in_place_interface &table,
IndexType<ipcdetail::index_config<CharT, MemoryAlgorithm> > &index, ipcdetail::true_ is_intrusive)
{
(void)is_intrusive;
@@ -1186,7 +1186,7 @@ class segment_manager
template<class CharT>
void * priv_generic_named_construct
(unsigned char type, const CharT *name, size_type num, bool try2find, bool dothrow,
- ipcdetail::in_place_interface &table,
+ ipcdetail::in_place_interface &table,
IndexType<ipcdetail::index_config<CharT, MemoryAlgorithm> > &index, ipcdetail::false_ is_intrusive)
{
(void)is_intrusive;
@@ -1342,8 +1342,8 @@ class segment_manager
}} //namespace boost { namespace interprocess
-Y_PRAGMA_DIAGNOSTIC_POP
-
+Y_PRAGMA_DIAGNOSTIC_POP
+
#include <boost/interprocess/detail/config_end.hpp>
#endif //#ifndef BOOST_INTERPROCESS_SEGMENT_MANAGER_HPP
diff --git a/contrib/restricted/boost/boost/spirit/home/classic/core/non_terminal/subrule.hpp b/contrib/restricted/boost/boost/spirit/home/classic/core/non_terminal/subrule.hpp
index 1f4bb048f9..4c8897f233 100644
--- a/contrib/restricted/boost/boost/spirit/home/classic/core/non_terminal/subrule.hpp
+++ b/contrib/restricted/boost/boost/spirit/home/classic/core/non_terminal/subrule.hpp
@@ -22,8 +22,8 @@
#include <boost/spirit/home/classic/core/non_terminal/subrule_fwd.hpp>
#include <boost/spirit/home/classic/core/non_terminal/impl/subrule.ipp>
-#include <util/system/compiler.h>
-
+#include <util/system/compiler.h>
+
namespace boost { namespace spirit {
BOOST_SPIRIT_CLASSIC_NAMESPACE_BEGIN
@@ -209,9 +209,9 @@ BOOST_SPIRIT_CLASSIC_NAMESPACE_BEGIN
return start.parse(g_arg);
}
- Y_PRAGMA_DIAGNOSTIC_PUSH
- Y_PRAGMA_NO_WSHADOW
-
+ Y_PRAGMA_DIAGNOSTIC_PUSH
+ Y_PRAGMA_NO_WSHADOW
+
template <int ID2, typename DefT2, typename ContextT2>
inline subrule_list<
self_t,
@@ -231,8 +231,8 @@ BOOST_SPIRIT_CLASSIC_NAMESPACE_BEGIN
rhs, nil_t()));
}
- Y_PRAGMA_DIAGNOSTIC_POP
-
+ Y_PRAGMA_DIAGNOSTIC_POP
+
typename DefT::embed_t rhs;
subrule_t const& start;
};