- @code
- #include "wx/meta/pod.h"
- WX_DECLARE_TYPE_POD(MyPodStruct)
- @endcode
-
- Be extra careful what you declare as Plain Old Data. It must be such data
- that can be copied with memcpy() without corrupting program integrity. For
- instance, POD structures usually cannot contain pointers or references to
- other data. wxRect, wxPoint, and wxSize are good examples of POD
- classes.
-
- Note that pointers to any and all types are already automatically
- declared as Plain Old Data.
+ @note When performing conversions between strings and floating point
+ numbers, the representation of numbers in C locale is always used.
+ I.e. @code wxAny("1.23").GetAs<double>() @endcode will always work,
+ even if the current locale uses comma as decimal separator.