Boost C++ 库

...世界上最受推崇和设计精良的 C++ 库项目之一。 Herb SutterAndrei Alexandrescu,《C++ 编码规范

函数模板 save - Boost C++ 函数库
PrevUpHomeNext

函数模板 save

boost::serialization::save — 使用序列化库保存 first_day_of_the_week_in_month 对象的功能。

提要

// In header: <boost/date_time/gregorian/greg_serialize.hpp>


template<typename Archive> 
  void save(Archive & ar, const gregorian::first_kday_of_month & fkd, 
            unsigned int);

描述

first_day_of_the_week_in_month 对象在序列化时分解为两部分:星期几和月份。


PrevUpHomeNext