14 #ifndef BOOST_FORMAT_IMPLEMENTATION_HPP 15 #define BOOST_FORMAT_IMPLEMENTATION_HPP 27 template<
class Ch,
class Tr,
class Alloc>
29 : style_(0), cur_arg_(0), num_args_(0), dumped_(false),
36 #if !defined(BOOST_NO_STD_LOCALE) 37 template<
class Ch,
class Tr,
class Alloc>
45 template<
class Ch,
class Tr,
class Alloc>
52 #endif // ! BOOST_NO_STD_LOCALE 53 template<
class Ch,
class Tr,
class Alloc>
59 template<
class Ch,
class Tr,
class Alloc>
67 template<
class Ch,
class Tr,
class Alloc>
75 template<
class Ch,
class Tr,
class Alloc>
83 template<
class Ch,
class Tr,
class Alloc>
97 template<
class Ch,
class Tr,
class Alloc>
102 template<
class Ch,
class Tr,
class Alloc>
109 template<
class Ch,
class Tr,
class Alloc>
112 #if !defined(BOOST_NO_STD_LOCALE) 123 for(std::size_t
i=0;
i < nbitems; ++
i)
129 template<
class Ch,
class Tr,
class Alloc>
137 for(
unsigned long i=0;
i<
items_.size(); ++
i) {
151 template<
class Ch,
class Tr,
class Alloc>
160 template<
class Ch,
class Tr,
class Alloc>
174 template<
class Ch,
class Tr,
class Alloc>
186 template<
class Ch,
class Tr,
class Alloc>
198 template<
class Ch,
class Tr,
class Alloc>
203 template<
class Ch,
class Tr,
class Alloc>
215 template<
class Ch,
class Tr,
class Alloc>
230 for(i=0; i <
items_.size(); ++
i) {
236 res.append( static_cast<size_type>(item.
fmtstate_.
width_) - res.size(),
244 template<
class Ch,
class Tr,
class Alloc>
251 #pragma warning(push) 252 #pragma warning(disable:4267) 257 for(i=0; i <
items_.size(); ++
i) {
259 sz += item.
res_.size();
274 template<
class Ch,
class Tr,
class Alloc,
class T>
287 self.
bound_.assign(
self.num_args_,
false);
290 int o_cur_arg =
self.cur_arg_;
291 self.cur_arg_ = argN-1;
293 self.bound_[
self.cur_arg_]=
false;
298 self.cur_arg_ = o_cur_arg;
299 self.bound_[argN-1]=
true;
314 if(itemN<1 || itemN > static_cast<signed int>(
self.
items_.size() )) {
319 self.items_[itemN-1].fmtstate_.
template apply_manip<T> ( manipulator );
329 #endif // BOOST_FORMAT_IMPLEMENTATION_HPP
BOOST_MOVE_USE_STANDARD_LIBRARY_MOVE.
BOOST_NORETURN void throw_exception(E const &e)
basic_format< Ch, Tr, Alloc > & bind_arg_body(basic_format< Ch, Tr, Alloc > &self, int argN, const T &val)
#define BOOST_PREVENT_MACRO_SUBSTITUTION
#define BOOST_USING_STD_MAX()
reference_const_type get() const
void swap(nlohmann::json &j1, nlohmann::json &j2) noexcept(is_nothrow_move_constructible< nlohmann::json >::value andis_nothrow_move_assignable< nlohmann::json >::value)
exchanges the values of two JSON objects
basic_format< Ch, Tr, Alloc > & modify_item_body(basic_format< Ch, Tr, Alloc > &self, int itemN, T manipulator)
BOOST_IO_STD locale locale_t
#define BOOST_USE_FACET(Type, loc)
#define BOOST_ASSERT(expr)