¡@

Home 

c++ Programming Glossary: errorcheck

Is it reasonable to use std::basic_string<t> as a contiguous buffer when targeting C++03?

http://stackoverflow.com/questions/2256160/is-it-reasonable-to-use-stdbasic-stringt-as-a-contiguous-buffer-when-targeti

immediately. Example DWORD valueLength 0 DWORD type LONG errorCheck RegQueryValueExW hWin32 value.c_str NULL type NULL valueLength.. hWin32 value.c_str NULL type NULL valueLength if errorCheck ERROR_SUCCESS WindowsApiException Throw errorCheck else if valueLength.. if errorCheck ERROR_SUCCESS WindowsApiException Throw errorCheck else if valueLength 0 return std wstring std wstring buffer..