TF++, Miscellaneous classes and modules in C++:
◆
shrink()
template<class T = int>
Range
&
tfxx::Range
< T >::shrink
(
const
Range
< T > &
other
)
inline
shrink to smaller of this and the other
Definition at line
80
of file
range.h
.
81
{
82
Mfirst
=
Mfirst
>other.first() ?
Mfirst
:other.first();
83
Mlast
=
Mlast
<other.last() ?
Mlast
:other.last();
84
return
*
this
;
85
}
tfxx::Range::Mlast
Tvalue Mlast
end of range.
Definition:
range.h:104
tfxx::Range::Mfirst
Tvalue Mfirst
start of range.
Definition:
range.h:103
tfxx
Range
Generated on Mon Aug 21 2023 17:36:06 for TF++, Miscellaneous classes and modules in C++: by
1.8.14