Cycling74 / min-api

High-level C++-language application programming interface for Max
MIT License
57 stars 23 forks source link

annoying endl; #170

Closed omarcostahamido closed 3 years ago

omarcostahamido commented 3 years ago

I'm including a header.h that is using namespace std. whenever I do something like cout<<(...)<<endl; it always complains that Reference to 'endl' is ambiguous. Anyone experiencing this?

robtherich commented 3 years ago

users are not recommended to define a top level using namespace std;

omarcostahamido commented 3 years ago

wait, but what if I have to use it for my header file (not the main cpp file for the object)?