fork download
  1. #include <vector>
  2. void foo(std::vector<double>&r){
  3.  
  4. int len;
  5.  
  6. len = r.size(); //error value required as left operand of assignment
  7.  
  8. }
  9.  
  10. int main() {}
Success #stdin #stdout 0.02s 2720KB
stdin
Standard input is empty
stdout
Standard output is empty