id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 10033,scale_down on rectangle does not compile,Jakob Schou Jensen ,Andrii Sydorchuk,"I get a compile error when calling scale_down on a rectangle: eg: {{{ rectangle_data r; scale_down( r, 2 ); }}} {{{ /Users/schou/frameworks/boost_1_55_0/boost/polygon/rectangle_concept.hpp:984:25: error: no matching function for call to 'scale_down' vertical(rectangle, scale_down(vertical(rectangle), factor)); ^~~~~~~~~~ /Users/schou/frameworks/boost_1_55_0/boost/polygon/interval_concept.hpp:386:10: note: candidate function [with IntervalType = boost::polygon::interval_data] not viable: expects an l-value for 1st argument >::type& scale_down( ^ /Users/schou/frameworks/boost_1_55_0/boost/polygon/point_concept.hpp:395:3: note: candidate template ignored: disabled by 'enable_if' [with PointType = boost::polygon::interval_data, CType = unsigned long long] typename gtl_and< ^ /Users/schou/frameworks/boost_1_55_0/boost/polygon/rectangle_concept.hpp:979:22: note: candidate template ignored: disabled by 'enable_if' [with rectangle_type = boost::polygon::interval_data] typename enable_if] typename gtl_and< ^ /Users/schou/frameworks/boost_1_55_0/boost/polygon/polygon_traits.hpp:735:5: note: candidate template ignored: disabled by 'enable_if' [with polygon_type = boost::polygon::interval_data] typename gtl_and< typename is_any_mutable_polygon_without_holes_type::type, ^ /Users/schou/frameworks/boost_1_55_0/boost/polygon/polygon_traits.hpp:870:5: note: candidate template ignored: disabled by 'enable_if' [with polygon_type = boost::polygon::interval_data] typename gtl_and< typename is_any_mutable_polygon_without_holes_type::type, ^ /Users/schou/frameworks/boost_1_55_0/boost/polygon/polygon_traits.hpp:889:23: note: candidate template ignored: disabled by 'enable_if' [with T = boost::polygon::interval_data] typename enable_if< typename is_any_mutable_polygon_with_holes_type::type, T>::type & ^ /Users/schou/frameworks/boost_1_55_0/boost/polygon/polygon_90_set_concept.hpp:437:23: note: candidate template ignored: disabled by 'enable_if' [with polygon_set_type = boost::polygon::interval_data] typename enable_if< typename is_mutable_polygon_90_set_type::type, ^ /Users/schou/frameworks/boost_1_55_0/boost/polygon/polygon_45_set_concept.hpp:248:23: note: candidate template ignored: disabled by 'enable_if' [with polygon_set_type = boost::polygon::interval_data] typename enable_if< typename is_mutable_polygon_45_set_type::type, ^ /Users/schou/frameworks/boost_1_55_0/boost/polygon/polygon_set_concept.hpp:237:23: note: candidate template ignored: disabled by 'enable_if' [with polygon_set_type = boost::polygon::interval_data] typename enable_if< typename is_mutable_polygon_set_type::type, ^ 2 errors generated. }}} I am compiling on mac osx maverics.",Bugs,closed,Boost 1.56.0,polygon,Boost 1.55.0,Problem,fixed,,