fixed a bug in manualtest.cpp, where a method was defined instead of

default ctor
This commit is contained in:
Kjistóf 2016-10-28 20:24:57 +02:00
parent 5711cb6096
commit 4ed53c1484
1 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ int main()
{
if (std::is_default_constructible<String>::value)
std::cout << "class String is default constructible" << std::endl;
String defaultctor();
String defaultctor;
if (std::is_constructible<String, const char*>::value)
std::cout << "class String is constructible from const char*" << std::endl;
@ -127,4 +127,4 @@ int main()
return EXIT_SUCCESS;
}
}