Thursday, 8 August 2013

Hiding the internals of a structure

Hiding the internals of a structure

In an API, is there some advantage to using type void * as a handle to
structures returned to the user (as opposed to using type
name_of_the_structure * and just hiding the implementation)?

No comments:

Post a Comment