|
Instantiation of an std vector instance with an initialization list crashes with a SignalKill, bug with the builder tools?
|
03/05/2018 10:33 AM
post118652
|
Instantiation of an std vector instance with an initialization list crashes with a SignalKill, bug with the builder tools?
Source code attached
#include <cstdlib>
#include <iostream>
#include <vector>
#include <string>
int main(int argc, char *argv[]) {
std::vector<int> test0{1, 2, 3, 4};
std::vector<std::string> test{"a", "b", "c"};
std::cout << test[0];
return 0;
}
|
|
|