fork download
  1. std::pair<std::string *, std::string *>
  2. StrVec::alloc_and_copy(const std::string *b, const std::string *e)
  3. {
  4. auto data = alloc.allocate(e - b);
  5. return{ data, std::uninitialized_copy(b, e, data) };
  6. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:1:6: error: ‘pair’ in namespace ‘std’ does not name a template type
 std::pair<std::string *, std::string *>
      ^~~~
stdout
Standard output is empty