mirror of
https://github.com/boostorg/lexical_cast.git
synced 2026-01-19 04:22:08 +00:00
17 lines
466 B
C++
17 lines
466 B
C++
// Copyright (c) 2024-2025 Antony Polukhin
|
|
//
|
|
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
|
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|
|
|
// To compile manually use a command like the following:
|
|
// clang++ -std=c++20 -fmodule-file=lexical_cast.pcm lexical_cast.pcm usage_sample.cpp
|
|
|
|
//[lexical_cast_module_example
|
|
import boost.lexical_cast;
|
|
|
|
int main() {
|
|
return boost::lexical_cast<int>("0");
|
|
}
|
|
//]
|
|
|