What header file needs to be included for using nullptr in g++?

后端 未结 4 873
借酒劲吻你
借酒劲吻你 2020-12-10 10:58

I am using g++ 4.4.1 and want to use nullptr, but I am not being able to find which header file is required to be included. It does not seem to be keyword eithe

4条回答
  •  醉梦人生
    2020-12-10 11:29

    If you don't have the latest gcc which supports C++11 , try using NULL instead of nullptr.

提交回复
热议问题