Port of schuchert.wikispaces.com


cpptraining.ConfiguringTheProjectToUseBoost

cpptraining.ConfiguringTheProjectToUseBoost

Configuring the Project to use Boost

#include <boost/date_time/gregorian/gregorian.hpp>

#include <CppUTest/TestHarness.h>

TEST_GROUP(Dates) {

};

TEST(Dates, CanBeLinkedIn) {
  using namespace boost::gregorian;
  std::string s("2001-10-9");
  date d(from_simple_string(s));
}


Comments

" Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.