Size::|

Size::|
inline const Size<T> operator |(const Size<T> & sz) const;
Description

The operator | function determines the union of two sizes by comparing their components respectively. The greater component is chosen. The following expression may be used to represent the result:

   (result.Width, result.Height) = (max(sz1.Width, sz2.Width), max(sz1.Height, sz2.Height))
Parameters
Parameters 
Description 
const Size<T> & sz 
The passed sizes whose components are compared to those of the first size. 
Return Value

A new Size whose components are determined by comparing those of two passed sizes. The greater components are chosen to represent union.