Developers.Hash.Refactor.Type

From Shareaza Wiki
Jump to navigation Jump to search

From camper's Utility.hpp

<source lang="c"> //! \brief plattfrom independent unsigned 32 bit integer type. typedef boost::uint32_t uint32; //! \brief alias for std::size_t. typedef std::size_t size_t; //! \brief alias for CString. typedef CString StringType; </source>

  • changed DWORD to size_t, why
  • the string alias isn't any shorter can we rename CString to just string
  • can we rename LPCTSTR to text
  • can we also call uint32_t to uint

string s; uint u; text t;