local_date_time ldt(not_a_date_time);
tm ldt_tm = to_tm(ldt);
check("Exception not thrown (special_value to_tm)", false);
- //does nothing useful but stops compiler from complaining about unused ldt_tm
- std::cout << ldt_tm.tm_sec << std::endl;
+ //does nothing useful but stops compiler from complaining about unused ldt_tm
+ std::cout << ldt_tm.tm_sec << std::endl;
}catch(std::out_of_range&){
check("Caught expected exception (special_value to_tm)", true);
}catch(...){