forked from boostorg/unordered
		
	Use argument SFINAE instead of return SFINAE
This commit is contained in:
		@@ -125,17 +125,15 @@ namespace boost { namespace unordered { namespace detail {
 | 
			
		||||
    // insert_size/initial_size
 | 
			
		||||
 | 
			
		||||
    template <class I>
 | 
			
		||||
    inline typename
 | 
			
		||||
        boost::unordered::detail::enable_if_forward<I, std::size_t>::type
 | 
			
		||||
        insert_size(I i, I j)
 | 
			
		||||
    inline std::size_t insert_size(I i, I j, typename
 | 
			
		||||
        boost::unordered::detail::enable_if_forward<I, void*>::type = 0)
 | 
			
		||||
    {
 | 
			
		||||
        return std::distance(i, j);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    template <class I>
 | 
			
		||||
    inline typename
 | 
			
		||||
        boost::unordered::detail::disable_if_forward<I, std::size_t>::type
 | 
			
		||||
        insert_size(I, I)
 | 
			
		||||
    inline std::size_t insert_size(I, I, typename
 | 
			
		||||
        boost::unordered::detail::disable_if_forward<I, void*>::type = 0)
 | 
			
		||||
    {
 | 
			
		||||
        return 1;
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user