• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright Antony Polukhin, 2016-2019.
2//
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)
6
7#ifndef BOOST_STACKTRACE_DETAIL_FRAME_NOOP_IPP
8#define BOOST_STACKTRACE_DETAIL_FRAME_NOOP_IPP
9
10#include <boost/config.hpp>
11#ifdef BOOST_HAS_PRAGMA_ONCE
12#   pragma once
13#endif
14
15#include <boost/stacktrace/frame.hpp>
16
17namespace boost { namespace stacktrace { namespace detail {
18
19std::string to_string(const frame* /*frames*/, std::size_t /*count*/) {
20    return std::string();
21}
22
23} // namespace detail
24
25std::string frame::name() const {
26    return std::string();
27}
28
29std::string frame::source_file() const {
30    return std::string();
31}
32
33std::size_t frame::source_line() const {
34    return 0;
35}
36
37std::string to_string(const frame& /*f*/) {
38    return std::string();
39}
40
41
42}} // namespace boost::stacktrace
43
44#endif // BOOST_STACKTRACE_DETAIL_FRAME_NOOP_IPP
45