0
I Use This!
Activity Not Available

Project Summary

GION is a collection of lightweight, simple, yet useful smart resource handles with std::auto_ptr like syntax and semantics.

Featuring smart handles for commonly used standard handle types, including:

file descriptors, FILE pointers, sockets

And platform dependent handle types:

WIN32 handles Pthread handles

These smart handles classes are instances of the auto_handle class template (link). It is designed with extensibility in mind, adding support of new types of handle is done by defining additional HandleTraits, which is quite trivial.

It also contains a nice little addition, the long missed class template - auto_array.

These smart handles greatly simplify daily programming tasks. Functions using them automatically provides basic guarantee in exception safety, and are free to return early without worrying about deallocation of resources allocated locally, a great way to avoid goto statements. See manual for example.

GION uses CMake as its build system, which is capable of generating platform specific Makefiles and MSVC project/solution files.

GION should build and function correctly with any recent C++ compiler, however, I’ve only built/tested it with GCC 4.2.3 and MSVC 2005. Pre-built WIN32 Debug/Release libraries are available here.

Tags

cplusplus cpp cross-platform handle library smartpointer

In a Nutshell, gion...

 No code available to analyze

Open Hub computes statistics on FOSS projects by examining source code and commit history in source code management systems. This project has no code locations, and so Open Hub cannot perform this analysis

Is this project's source code hosted in a publicly available repository? Do you know the URL? If you do, click the button below and tell us so that Open Hub can generate statistics! It's fast and easy - try it and see!

Add a code location

MIT License
Permitted

Sub-License

Private Use

Commercial Use

Modify

Distribute

Forbidden

Hold Liable

Required

Include Copyright

Include License

These details are provided for information only. No information here is legal advice and should not be used as such.

All Licenses

This Project has No vulnerabilities Reported Against it

Did You Know...

  • ...
    Black Duck offers a free trial so you can discover if there are open source vulnerabilities in your code
  • ...
    check out hot projects on the Open Hub
  • ...
    55% of companies leverage OSS for production infrastructure
  • ...
    you can subscribe to e-mail newsletters to receive update from the Open Hub blog

 No code available to analyze

Open Hub computes statistics on FOSS projects by examining source code and commit history in source code management systems. This project has no code locations, and so Open Hub cannot perform this analysis

Is this project's source code hosted in a publicly available repository? Do you know the URL? If you do, click the button below and tell us so that Open Hub can generate statistics! It's fast and easy - try it and see!

Add a code location

Community Rating

Be the first to rate this project
Click to add your rating
   Spinner
Review this Project!
Sample ohloh analysis