cpp11/ilists.cc
2012-05-05 09:01:40 -06:00

18 lines
220 B
C++

#include <vector>
// valid c++03:
struct thang
{
float f;
int i;
};
thang scalar = {3.14, 42};
thang anArray[] = {{1.1, 1}, {2.2, 2}, {3.3, 3}};
int main() {
// vector<thang> v = { ??? }
return 0;
}