Add interval<T> argument deduction rule
This commit is contained in:
parent
bb744fa9c9
commit
bd861a13c7
1 changed files with 3 additions and 0 deletions
|
|
@ -115,6 +115,9 @@ namespace psemek::geom
|
|||
interval & operator |= (interval const & i);
|
||||
};
|
||||
|
||||
template <typename T>
|
||||
interval(T, T) -> interval<T>;
|
||||
|
||||
template <typename T1, typename T>
|
||||
interval<T1> cast(interval<T> const & i)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue