Files
dll/modules/sample_plugin.cppm
Fedor Osetrov 9cb8a366a7 feat boost.dll: support import std (#112)
The PR adds support `import std` and CI tests for the usage
2026-05-24 23:16:33 +03:00

19 lines
440 B
C++

// Copyright Antony Polukhin, 2025-2026.
// Copyright Fedor Osetrov, 2025-2026.
//
// 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)
module;
#include <memory>
#include <my_plugin_api.hpp>
export module sample_plugin;
namespace my_namespace {
export std::shared_ptr<my_plugin_api> create_plugin();
} // namespace my_namespace