operator>

Tests for a lexicographically greater than condition.

  template <class charT, class traits, class Allocator>

  bool operator> 

  const basic_string <charT,traits,Allocator>& lhs,

  const basic_string <charT,traits,Allocator>& rhs);

  template <class charT, class traits, class Allocator>

  bool operator> 

  (const charT* lhs,const basic_string
  
  <charT,traits,Allocator>& rhs);

  template <class charT, class traits, class Allocator>

  bool operator> 

  (const basic_string <charT,traits,Allocator>& lhs,

  const charT* rhs);  
Remarks

Returns True if the first argument is lexicographically greater than the second argument otherwise false.