4 May
                
                    2005
                
            
            
                4 May
                
                '05
                
            
            
            
        
    
                8:36 p.m.
            
        Eric Niebler wrote:
I think this [size(char[N]) == N-1] is OK.
It's very much a non-problem today, both because the majority of char[] arrays are indeed string literals, and because BOOST_FOREACH on a string literal seems pretty pointless. Things may become more interesting in the future, when on platform X BOOST_FOREACH on int[] could decide to skip the last element of the array because utf32_t happened to map to int.
If you think this is a problem, you should discuss it with Thorsten.
I'm not looking forward to that.