mirror of
https://github.com/boostorg/property_tree.git
synced 2026-01-19 16:32:15 +00:00
16 lines
333 B
C++
16 lines
333 B
C++
// Copyright 2023 Peter Dimov.
|
|
// Distributed under the Boost Software License, Version 1.0.
|
|
// https://www.boost.org/LICENSE_1_0.txt
|
|
|
|
#include <boost/property_tree/ptree.hpp>
|
|
|
|
namespace pt = boost::property_tree;
|
|
|
|
int main()
|
|
{
|
|
pt::ptree tree;
|
|
|
|
tree.put( "source.file", __FILE__ );
|
|
tree.put( "source.line", __LINE__ );
|
|
}
|