| # -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- |
| from waflib.Configure import conf |
| class Derived : public Base |
| def check_override(self): |
| self.check_cxx(msg='Checking for override specifier', |
| define_name='HAVE_CXX_OVERRIDE', |
| features='cxx', mandatory=False) |
| main(int argc, char** argv) |
| std::string s = std::to_string(0); |
| s = std::to_string(0ull); |
| s = std::to_string(0.0f); |
| s = std::to_string(0.0l); |
| def check_std_to_string(self): |
| self.check_cxx(msg='Checking for std::to_string', |
| define_name='HAVE_STD_TO_STRING', |
| features='cxx', mandatory=False) |
| conf.check_std_to_string() |