comparison DEPENDENCIES/generic/include/boost/polygon/point_data.hpp @ 101:c530137014c0

Update Boost headers (1.58.0)
author Chris Cannam
date Mon, 07 Sep 2015 11:12:49 +0100
parents 2665513ce2d3
children
comparison
equal deleted inserted replaced
100:793467b5e61c 101:c530137014c0
43 coords_[0] = that.coords_[0]; 43 coords_[0] = that.coords_[0];
44 coords_[1] = that.coords_[1]; 44 coords_[1] = that.coords_[1];
45 return *this; 45 return *this;
46 } 46 }
47 47
48 #ifdef __GNUC__
49 // "explicit" to work around https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63356
48 template <typename PointType> 50 template <typename PointType>
49 explicit point_data(const PointType& that) { 51 explicit point_data(const PointType& that) {
50 *this = that; 52 *this = that;
51 } 53 }
54 #else // __GNUC__
55 template <typename PointType>
56 point_data(const PointType& that) {
57 *this = that;
58 }
59 #endif // __GNUC__
52 60
53 template <typename PointType> 61 template <typename PointType>
54 point_data& operator=(const PointType& that) { 62 point_data& operator=(const PointType& that) {
55 assign(*this, that); 63 assign(*this, that);
56 return *this; 64 return *this;