mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
fix inline
add container/indexes.hpp add tuple/indexes.hpp
This commit is contained in:
parent
ba6482d1ec
commit
c6bd230ee4
340 changed files with 1087 additions and 979 deletions
|
@ -8,11 +8,11 @@ namespace sprout {
|
|||
namespace breed {
|
||||
namespace detail {
|
||||
template<typename T>
|
||||
SPROUT_CONSTEXPR T& as_lvalue(T& t) {
|
||||
inline SPROUT_CONSTEXPR T& as_lvalue(T& t) {
|
||||
return t;
|
||||
}
|
||||
template<typename T>
|
||||
SPROUT_CONSTEXPR T const& as_lvalue(T const& t) {
|
||||
inline SPROUT_CONSTEXPR T const& as_lvalue(T const& t) {
|
||||
return t;
|
||||
}
|
||||
} // namespace detail
|
||||
|
|
|
@ -77,8 +77,8 @@ namespace sprout {
|
|||
return typename Context::template eval<Expr const>()(e, ctx);
|
||||
}
|
||||
template<typename Expr, typename Context>
|
||||
typename sprout::breed::result_of::eval<Expr const, Context>::type
|
||||
SPROUT_CONSTEXPR eval(Expr const& e, Context const& ctx) {
|
||||
SPROUT_CONSTEXPRtypename sprout::breed::result_of::eval<Expr const, Context>::type
|
||||
eval(Expr const& e, Context const& ctx) {
|
||||
return typename Context::template eval<Expr const>()(e, ctx);
|
||||
}
|
||||
} // namespace breed
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue