geom/segment: add deduction guide

This commit is contained in:
Danny Robson 2019-03-22 15:10:27 +11:00
parent 6ae38d7f9e
commit f6cec803d7

View File

@ -88,4 +88,8 @@ namespace cruft::geom {
using segment2f = segment<2,float>;
using segment3f = segment<3,float>;
template <size_t S, typename T>
segment (point<S,T>, point<S,T>) -> segment<S,T>;
}