Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Constants cannot be initialized with numeric_limits in Constants.m #77

Open
herzbube opened this issue Dec 11, 2012 · 0 comments
Open
Assignees

Comments

@herzbube
Copy link
Owner

Find out why it is not possible to initialize constants in Constants.m with std::numeric_limits.

The following example results in a compiler error (namespace std is not known):

const unsigned int fuegoMaxPonderTimeMaximum = std::numeric_limits<unsigned int>::max();

I tried renaming Constants.m so that it uses the ".mm" file extension, assuming that this would tickle the C++ compiler, but still no luck.

@ghost ghost assigned herzbube Dec 11, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant