Ignore:
Timestamp:
06/01/15 20:39:35 (10 years ago)
Author:
epyon
Message:
  • massive C++11 update (upgrade to MSVC 2015)
  • array/dynamic_array - fully based on memory containers (will be moved) (in progress)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/nv/stl/traits/function.hh

    r377 r382  
    3535                        typedef R        return_type;
    3636                        typedef void     class_type;
    37                         static const int arg_count = 0;
     37                        static constexpr int arg_count = 0;
    3838                };
    3939
     
    4444                        typedef R        return_type;
    4545                        typedef void     class_type;
    46                         static const int arg_count = sizeof...( Args );
     46                        static constexpr int arg_count = sizeof...( Args );
    4747                };
    4848
     
    5353                        typedef R       return_type;
    5454                        typedef C       class_type;
    55                         static const int arg_count = 0;
     55                        static constexpr int arg_count = 0;
    5656                };
    5757
     
    6262                        typedef R        return_type;
    6363                        typedef C        class_type;
    64                         static const int arg_count = sizeof...( Args );
     64                        static constexpr int arg_count = sizeof...( Args );
    6565                };
    6666
Note: See TracChangeset for help on using the changeset viewer.