Boost C++ Libraries

...one 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.
PrevUpHomeNext

Struct location

boost::execution_exception::location — Simple model for the location of failure in a source code.

Synopsis

// In header: <boost/test/execution_monitor.hpp>



// Simple model for the location of failure in a source code.

struct location {
  // construct/copy/destruct
  explicit location(char const * = 0, size_t = 0, char const * = 0);

  // public data members
  const_string m_file_name;  // File name. 
  size_t m_line_num;  // Line number. 
  const_string m_function;  // Function name. 
};

Description

location public construct/copy/destruct

  1. explicit location(char const * file_name = 0, size_t line_num = 0, 
                      char const * func = 0);

PrevUpHomeNext