示例#1
0
文件: Format.hpp 项目: phere/Format
      static void ApplyArgs(Format& format,
							FirstArg&& firstArg,
							OtherArgs&& ... otherArgs)
      {
		format % firstArg;
		ApplyArgs(format, std::forward<OtherArgs>(otherArgs)...);
      }
示例#2
0
Environment::Environment(const Args & args)
{
    SetDefaults();
    LoadFromFile(args.optfile);
    ApplyArgs(args);
}