.. _sprout-string-basic_string-operator-greater_equal: ############################################################################### operator>= ############################################################################### Interface ======================================== .. sourcecode:: c++ template inline SPROUT_CONSTEXPR bool operator>=(sprout::basic_string const& lhs, sprout::basic_string const& rhs); Returns ======================================== | true if the contents of the lhs are lexicographically greater than or equal the contents of rhs, false otherwise. Examples ======================================== .. sourcecode:: c++ #include using namespace sprout; SPROUT_STATIC_CONSTEXPR auto x = string<8>("homuhomu"); SPROUT_STATIC_CONSTEXPR auto y = string<8>("madocchi"); static_assert(y >= x, "y is greater than or equal to x."); Complexity ======================================== | Recursive function invocations in *O(logN)* (logarithmic) depth. Header ======================================== | ``sprout/string/comparison.hpp`` | Convenience header: ``sprout/string.hpp``