mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
sprout/detail/if.hpp 削除
This commit is contained in:
parent
01e458886a
commit
240c2bee1d
8 changed files with 15 additions and 52 deletions
|
@ -4,7 +4,6 @@
|
|||
#include <type_traits>
|
||||
#include <sprout/config.hpp>
|
||||
#include <sprout/fixed_container/traits.hpp>
|
||||
#include <sprout/detail/if.hpp>
|
||||
|
||||
namespace sprout {
|
||||
//
|
||||
|
@ -13,7 +12,7 @@ namespace sprout {
|
|||
template<typename Container>
|
||||
struct fixed_iterator {
|
||||
public:
|
||||
typedef typename sprout::detail::if_c<
|
||||
typedef typename std::conditional<
|
||||
std::is_const<Container>::value,
|
||||
typename sprout::fixed_container_traits<Container>::const_iterator,
|
||||
typename sprout::fixed_container_traits<Container>::iterator
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue