mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-29 21:02:18 -05:00
d24c8453db
subrepo: subdir: "libultraship" merged: "a484cda98" upstream: origin: "https://github.com/HarbourMasters/libultraship.git" branch: "main" commit: "a484cda98" git-subrepo: version: "0.4.1" origin: "???" commit: "???"
9 lines
292 B
C++
9 lines
292 B
C++
#pragma once
|
|
#include <string>
|
|
|
|
namespace Ship {
|
|
bool stob(const std::string& s, bool defaultVal = false);
|
|
int32_t stoi(const std::string& s, int32_t defaultVal = 0);
|
|
float stof(const std::string& s, float defaultVal = 1.0f);
|
|
int64_t stoll(const std::string& s, int64_t defaultVal = 0);
|
|
} |