fixed a bug in manualtest.cpp, where a method was defined instead of
default ctor
This commit is contained in:
parent
5711cb6096
commit
4ed53c1484
@ -12,7 +12,7 @@ int main()
|
|||||||
{
|
{
|
||||||
if (std::is_default_constructible<String>::value)
|
if (std::is_default_constructible<String>::value)
|
||||||
std::cout << "class String is default constructible" << std::endl;
|
std::cout << "class String is default constructible" << std::endl;
|
||||||
String defaultctor();
|
String defaultctor;
|
||||||
|
|
||||||
if (std::is_constructible<String, const char*>::value)
|
if (std::is_constructible<String, const char*>::value)
|
||||||
std::cout << "class String is constructible from const char*" << std::endl;
|
std::cout << "class String is constructible from const char*" << std::endl;
|
||||||
|
Loading…
Reference in New Issue
Block a user