Arun Saha cc81a9b4c5 static constant floating point need constexpr
Prior to C++11, only static const data members of
integral or enumeration type could have initializers
in the class definition. C++11 extends that to
floating point types (float, double) as well.
However, in order for such members to be initialized
in the class defintion, such members must either be
constexpr or non-static.
2017-06-03 19:59:20 -07:00
2016-05-24 22:59:58 -06:00
2017-05-31 02:09:16 +02:00
2017-02-18 08:23:28 -08:00
2016-05-24 22:58:17 -06:00
2015-04-01 08:12:15 -06:00
2016-05-24 22:59:32 -06:00
2015-06-08 10:52:53 -06:00

cppbestpractices

Join the chat at https://gitter.im/lefticus/cppbestpractices

Collaborative Collection of C++ Best Practices

This document is available as a download via gitbook

For more information please see the Preface.

This book has inspired an O'Reilly video: Learning C++ Best Practices

Description
Collaborative Collection of C++ Best Practices. This online resource is part of Jason Turner's collection of C++ Best Practices resources. See README.md for more information.
Readme 900 KiB
Languages
Markdown 100%