Atlas Game Manager
A game manager for f95 and dlsite written in c++
Loading...
Searching...
No Matches
operators.hpp
Go to the documentation of this file.
1//
2// Created by kj16609 on 8/31/23.
3//
4
5#pragma once
6#ifndef ATLASGAMEMANAGER_OPERATORS_HPP
7#define ATLASGAMEMANAGER_OPERATORS_HPP
8
9#include <QString>
10
11#include <filesystem>
12
13#ifdef __linux__
14inline std::filesystem::path operator/( const std::filesystem::path path, const QString second )
15{
16 return path / second.toStdString();
17}
18#else
19inline std::filesystem::path operator/( const std::filesystem::path path, const QString second )
20{
21 return path / second.toStdWString();
22}
23#endif
24
25#endif //ATLASGAMEMANAGER_OPERATORS_HPP
std::filesystem::path operator/(const std::filesystem::path path, const QString second)
Definition operators.hpp:19