fix import std support

This commit is contained in:
Arthur LAURENT 2023-10-19 21:50:00 +02:00
parent 67a4e91da9
commit 7f5de9ab25
No known key found for this signature in database
GPG Key ID: E6701280365D4380

View File

@ -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;