Changeset 374 for trunk/src/io


Ignore:
Timestamp:
05/26/15 17:35:06 (10 years ago)
Author:
epyon
Message:
  • MASSIVE commit
  • common.hh - size_t, ptrdiff_t, nv:: namespace, NV_ALIGN_OF and basic template tools
  • STL - algorithm.hh, iterator.hh, limits.hh, numeric.hh and type_info.hh
  • STL - updates to memory, array and string
Location:
trunk/src/io
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/io/c_stream.cc

    r319 r374  
    66#include <sys/stat.h>
    77#include "nv/io/c_stream.hh"
    8 #include <limits>
    98
    109using namespace nv;
  • trunk/src/io/std_stream.cc

    r319 r374  
    88
    99#include "nv/io/std_stream.hh"
    10 #include <algorithm>
     10#include "nv/stl/math.hh"
     11#include "nv/stl/utility.hh"
    1112
    1213using namespace nv;
     
    1516        : m_stream( source )
    1617        , m_owner( owner )
    17         , m_buffer( std::max(bsize, put_back) + put_back )
    18         , m_put_back( std::max( put_back, std::size_t( 1 ) ) )
     18        , m_buffer( nv::max(bsize, put_back) + put_back )
     19        , m_put_back( nv::max( put_back, std::size_t( 1 ) ) )
    1920{
    2021        char *end = &m_buffer.front() + m_buffer.size();
Note: See TracChangeset for help on using the changeset viewer.