title: initializer_list not working in VC10
body: <p>i wrote this program in VC++ 2010:</p>
  
  <pre><code>class class1
  {
  public:
   class1 (initializer_list&lt;int&gt; a){};
   int foo;
   float Bar;
  };
  void main()
  {
   class1 c = {2,3};
   getchar();
  }
  </code></pre>
  
  <p>but i get this errors when i compile project:</p>
  
  <blockquote>
    <p>Error 1 error C2552: 'c' :
    non-aggregates cannot be initialized
    with initializer
    list c:\users\pswin\documents\visual
    studio
    2010\projects\test_c++0x\test_c++0x\main.cpp 27</p>
  </blockquote>
  
  <p>and </p>
  
  <blockquote>
    <p>2 IntelliSense: initialization with
    '{...}' is not allowed for object of
    type
    "class1" c:\users\pswin\documents\visual
    studio
    2010\projects\test_c++0x\test_c++0x\main.cpp 27</p>
  </blockquote>
  
  <p>what is the problem?</p>