On Tue, Nov 20, 2012 at 2:34 PM, Xinliang David Li <davi...@google.com> wrote:

> class bitmap {
>    public:
>       void print_me (print_flags flags = print_pretty, FILE *stream = stderr);
>      ...
> };

This is fine and all, but most of our objects are pointers and many
times we are dealing with NULL pointers.  With free functions, we
don't have this issue.

I'm not opposed to having them be member functions.  It's just that
the free functions will still be needed.


Diego.

Reply via email to