Template:cpp/container adaptor/operator cmp

Compares the contents of the underlying containers of two container adaptors. The comparison is done by applying the corresponding operator to the underlying containers.

Return value
@1-6@ if the corresponding comparison yields,  otherwise. @7@ Result of three-way comparison on underlying containers.

Complexity
Linear in the size of the container.