mirror of https://github.com/CGAL/cgal
decltype(auto) for Bbox_[23]
In the cartesian converter, the conversion of a bbox (2D or 3D) returns a reference.
This commit is contained in:
parent
b56a79eacf
commit
0e898d9094
|
|
@ -37,7 +37,7 @@ struct Converting_construction
|
|||
|
||||
template <typename... Args,
|
||||
std::enable_if_t<!CartesianFunctors::Is_trivial_construction<Source_construction, Args...>::value>* = nullptr>
|
||||
auto operator()(Args&&... args) const {
|
||||
decltype(auto) operator()(Args&&... args) const {
|
||||
return backward_convert(construct(convert(args)...));
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue