|
CaptureMoment 0.1.0
Free and open-source non-destructive photo editor
|
Utility functions for converting primitive types to strings. More...
#include <string>#include <concepts>
Include dependency graph for to_string_utils.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Namespaces | |
| namespace | CaptureMoment |
| namespace | CaptureMoment::Core |
| Manages the lifecycle of a single IWorkingImage instance. | |
| namespace | CaptureMoment::Core::utils |
Concepts | |
| concept | CaptureMoment::Core::utils::ToStringablePrimitive |
| Concept defining types that can be converted to string using std::to_string. This includes integral types (int, long, etc.) and floating-point types (float, double). Note: std::string and bool are handled separately. | |
Functions | |
| template<ToStringablePrimitive T> | |
| std::string | CaptureMoment::Core::utils::toString (T value) |
| Converts a primitive value (integral or floating-point) to its string representation. | |
| std::string | CaptureMoment::Core::utils::toString (bool value) |
| Converts a boolean value to its string representation ("true" or "false"). | |
| std::string | CaptureMoment::Core::utils::toString (const std::string &value) |
| Converts a string value to its string representation (identity operation). | |
Utility functions for converting primitive types to strings.
Definition in file to_string_utils.h.