Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Function template operator!=

boost::operator!= — Lexicographically compares the values in the array (operator!=)

Synopsis

// In header: <boost/array.hpp>


template<typename T, std::size_t N> 
  bool operator!=(const array< T, N > & x, const array< T, N > & y);

Description

This function lexicographically compares the values in the array.

Complexity. 

Linear

Parameters:

x

First array whose contents to compare

y

Second array whose contents to compare

Template Parameters:

N

array size

T

array value type

Returns:

true if x != y


PrevUpHomeNext