mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-02-24 06:41:52 -05:00

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);
|
|
} |