1 // Copyright Antony Polukhin, 2016-2017.
3 // Distributed under the Boost Software License, Version 1.0. (See
4 // accompanying file LICENSE_1_0.txt or copy at
5 // http://www.boost.org/LICENSE_1_0.txt)
7 #ifndef BOOST_STACKTRACE_DETAIL_FRAME_NOOP_IPP
8 #define BOOST_STACKTRACE_DETAIL_FRAME_NOOP_IPP
10 #include <boost/config.hpp>
11 #ifdef BOOST_HAS_PRAGMA_ONCE
15 #include <boost/stacktrace/frame.hpp>
17 namespace boost { namespace stacktrace { namespace detail {
19 std::string to_string(const frame* /*frames*/, std::size_t /*count*/) {
25 std::string frame::name() const {
29 std::string frame::source_file() const {
33 std::size_t frame::source_line() const {
37 std::string to_string(const frame& /*f*/) {
42 }} // namespace boost::stacktrace
44 #endif // BOOST_STACKTRACE_DETAIL_FRAME_NOOP_IPP