mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
fix tuple construction, darkroom rgb & vector3d construction
This commit is contained in:
parent
c78e1d0e6d
commit
2e8b85e90c
53 changed files with 262 additions and 196 deletions
|
@ -5,7 +5,6 @@
|
|||
#include <sprout/config.hpp>
|
||||
#include <sprout/string.hpp>
|
||||
#include <sprout/utility/forward.hpp>
|
||||
#include <sprout/type_traits/remove_shallow_cvref.hpp>
|
||||
#include <sprout/weed/traits/type/is_c_str.hpp>
|
||||
#include <sprout/weed/traits/expr/terminal_of.hpp>
|
||||
|
||||
|
@ -17,7 +16,7 @@ namespace sprout {
|
|||
template<typename Arg>
|
||||
inline SPROUT_CONSTEXPR typename std::enable_if<
|
||||
!sprout::weed::traits::is_c_str<
|
||||
typename sprout::remove_shallow_cvref<Arg>::type
|
||||
typename std::remove_reference<Arg>::type
|
||||
>::value,
|
||||
typename sprout::weed::traits::terminal_of<Arg>::type
|
||||
>::type make_terminal(Arg&& arg) {
|
||||
|
@ -28,7 +27,7 @@ namespace sprout {
|
|||
template<typename Arg>
|
||||
inline SPROUT_CONSTEXPR typename std::enable_if<
|
||||
sprout::weed::traits::is_c_str<
|
||||
typename sprout::remove_shallow_cvref<Arg>::type
|
||||
typename std::remove_reference<Arg>::type
|
||||
>::value,
|
||||
typename sprout::weed::traits::terminal_of<Arg>::type
|
||||
>::type make_terminal(Arg&& arg) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue