Adding Constructor Template Auto Deduction guides.

This commit is contained in:
Richard Powell
2018-05-10 11:25:39 -06:00
parent b3eee90a81
commit 72195ae288
20 changed files with 455 additions and 0 deletions

View File

@@ -478,6 +478,18 @@ int string_test()
return 1;
}
#if __cplusplus >= 201703L
//Chect Constructor Template Auto Deduction
{
auto gold = StdString(string_literals<CharType>::String());
auto test = basic_string(gold.begin(), gold.end());
if(!StringEqual()(gold, test)) {
return 1;
}
}
#endif
//When done, delete vector
delete boostStringVect;
delete stdStringVect;