fork download
  1. struct in_place_factory0 {};
  2.  
  3. in_place_factory0 in_place() {}
  4. template <class T> void in_place(T) {}
  5. template <class T, class U> void in_place(T, U) {}
  6.  
  7. void test(in_place_factory0 (&in_place_tag)()) {}
  8.  
  9. int main() {
  10. test(in_place);
  11. }
Success #stdin #stdout 0s 3452KB
stdin
Standard input is empty
stdout
Standard output is empty