This commit is contained in:
邹晓航
2015-03-19 17:03:25 +08:00
parent 39b6e637be
commit fce4f246d9

View File

@@ -26,8 +26,6 @@
#include "Test\VectorTest.h" #include "Test\VectorTest.h"
using namespace TinySTL::Profiler; using namespace TinySTL::Profiler;
#include <string>
#include <type_traits>
int main(){ int main(){
TinySTL::AlgorithmTest::testAllCases(); TinySTL::AlgorithmTest::testAllCases();
@@ -52,10 +50,6 @@ int main(){
TinySTL::Unordered_setTest::testAllCases(); TinySTL::Unordered_setTest::testAllCases();
TinySTL::VectorTest::testAllCases(); TinySTL::VectorTest::testAllCases();
std::string s;
if (std::is_const<decltype(s.cbegin())>::value){
std::cout << "const" << std::endl;
}
system("pause"); system("pause");
return 0; return 0;
} }