Developers.Hash.Refactor.Type: Difference between revisions

From Shareaza Wiki
Jump to navigation Jump to search
(Importing page from Tikiwiki)
 
m (1 revision)
 
(No difference)

Latest revision as of 20:09, 20 June 2009

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;