mirror of
https://github.com/KeqingMoe/argparse.git
synced 2025-07-03 22:54:39 +00:00
fix import std support
This commit is contained in:
parent
67a4e91da9
commit
7f5de9ab25
@ -29,16 +29,16 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
*/
|
||||
|
||||
module;
|
||||
|
||||
#include <argparse/argparse.hpp>
|
||||
|
||||
export module argparse;
|
||||
|
||||
#ifdef ARGPARSE_MODULE_USE_STD_MODULE
|
||||
import std;
|
||||
#endif
|
||||
|
||||
extern "C++" {
|
||||
#include <argparse/argparse.hpp>
|
||||
}
|
||||
|
||||
export namespace argparse {
|
||||
using argparse::nargs_pattern;
|
||||
using argparse::default_arguments;
|
||||
|
Loading…
Reference in New Issue
Block a user