Boost C++ Libraries of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of boost. Click here for the latest Boost documentation.

Function template operator<

boost::stacktrace::operator< — Compares stacktraces for less, order is platform dependent.


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

template<typename Allocator1, typename Allocator2> 
  bool operator<(const basic_stacktrace< Allocator1 > & lhs, 
                 const basic_stacktrace< Allocator2 > & rhs);


Complexity: Amortized O(1); worst case O(size())

Async-Handler-Safety: Safe.