In a program I am making heavy use of the std library. I want to name a function less()
, however this is already taken in std
. Is there a line I can add after using namespace std;
that will clear out less()
for declaration later.
Currently I am receiving "error: reference to 'less' is ambiguous".
I am aware that I can list out everything that I am using (e.g. using std::cout;
), I just wanted to ask if there is a 'negated' version of this.
Thank you, Daniel