fork download
  1. #include <iostream>
  2. #include <string>
  3.  
  4. template<typename T>
  5. struct DT;
  6.  
  7. int main() {
  8. std::string s = "test";
  9. // DT<decltype(std::begin( s ))> dt;
  10. std::cout << (s.end() - s.begin());
  11. return 0;
  12. }
Success #stdin #stdout 0s 4388KB
stdin
Standard input is empty
stdout
4