OGLplus  (0.59.0) a C++ wrapper for rendering APIs

string.hpp
Go to the documentation of this file.
1 #ifndef EAGINE_ECS_ENTITY_STRING_HPP
9 #define EAGINE_ECS_ENTITY_STRING_HPP
10 
11 #include "../entity_traits.hpp"
12 #include <string>
13 
14 namespace eagine::ecs {
15 
16 template <>
17 struct entity_traits<std::string> {
18  using parameter_type = const std::string&;
19 
20  static inline auto minimum() noexcept -> std::string {
21  return {};
22  }
23 };
24 
25 } // namespace eagine::ecs
26 
27 #endif // EAGINE_ECS_ENTITY_STRING_HPP
static constexpr auto minimum(T a, T b) noexcept
Returns the minimum value of a and b.
Definition: functions.hpp:47

Copyright © 2015-2021 Matúš Chochlík.
<chochlik -at -gmail.com>
Documentation generated on Tue Apr 13 2021 by Doxygen (version 1.8.17).