fix inline

add container/indexes.hpp
add tuple/indexes.hpp
This commit is contained in:
bolero-MURAKAMI 2012-04-04 22:23:41 +09:00
parent ba6482d1ec
commit c6bd230ee4
340 changed files with 1087 additions and 979 deletions

View file

@ -9,12 +9,12 @@ namespace sprout {
// 25.4.7 Minimum and maximum
template<typename T, typename Compare>
SPROUT_CONSTEXPR T const& min(T const& a, T const& b, Compare comp) {
inline SPROUT_CONSTEXPR T const& min(T const& a, T const& b, Compare comp) {
return comp(b, a) ? b : a;
}
template<typename T>
SPROUT_CONSTEXPR T const& min(T const& a, T const& b) {
inline SPROUT_CONSTEXPR T const& min(T const& a, T const& b) {
return sprout::min(a, b, NS_SSCRISK_CEL_OR_SPROUT::less<T>());
}
} // namespace sprout