summaryrefslogtreecommitdiff
path: root/src/std/conversion.hpp
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-03-14 10:24:36 +0100
committerHampusM <hampus@hampusmat.com>2022-03-14 10:24:36 +0100
commita119e6ca70ffab14f0a70908fa3eeb83b41bb5ab (patch)
tree51b72774694f5e1aac0bb17fc1a5e528dbad9b44 /src/std/conversion.hpp
parent6b5754655f78a7f93b756ff902ce9fd80d9dc4ec (diff)
refactor: rename std to common
Diffstat (limited to 'src/std/conversion.hpp')
-rw-r--r--src/std/conversion.hpp31
1 files changed, 0 insertions, 31 deletions
diff --git a/src/std/conversion.hpp b/src/std/conversion.hpp
deleted file mode 100644
index 726ce88..0000000
--- a/src/std/conversion.hpp
+++ /dev/null
@@ -1,31 +0,0 @@
-#pragma once
-
-#include "std/memory.hpp"
-#include "std/smart_string.hpp"
-
-/**
- * Converts a double number to a string.
- *
- * @param num A double number
- * @param width The desired double width
- * @param precision The desired double precision
- * @returns The double as a string.
- */
-UniquePtr<SmartString> doubleToStr(double num, unsigned int width = 3,
- unsigned int precision = 2);
-
-/**
- * Converts a integer to a string.
- *
- * @param num A number
- * @returns The number as a string.
- */
-UniquePtr<SmartString> intToStr(int num);
-
-/**
- * Converts a unsigned integer to a string.
- *
- * @param num A number
- * @returns The number as a string.
- */
-UniquePtr<SmartString> uintToStr(unsigned int num);