fixed check for gcc version: support for noexcept on class constructor available only since gcc 4.6( https://gcc.gnu.org/projects/cxx0x.html )
reuse existed code for read/write