More examples, added content to 'getting started' section in docs, improved some tests

This commit is contained in:
Antony Polukhin
2016-09-14 22:01:49 +03:00
parent bd07777485
commit 0963de1ff7
5 changed files with 283 additions and 15 deletions

View File

@@ -13,6 +13,7 @@
#endif
#include <boost/aligned_storage.hpp>
#include <boost/core/explicit_operator_bool.hpp>
#include <iosfwd>
#include <string>
@@ -74,6 +75,12 @@ public:
///
/// @b Complexity: Amortized O(1), O(1) for noop backend.
BOOST_STACKTRACE_FUNCTION std::string operator[](std::size_t frame) const;
bool operator!() const BOOST_NOEXCEPT {
return !size();
}
BOOST_EXPLICIT_OPERATOR_BOOL_NOEXCEPT()
};