Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.std.c > #1398

Re: The C Containers Library

From jacob navia <jacob@spamsink.net>
Newsgroups comp.std.c
Subject Re: The C Containers Library
Date 2012-07-15 23:12 +0200
Organization lccwin
Message-ID <jtvbo0$lhm$3@speranza.aioe.org> (permalink)
References <4FF9E523.6000006@spamsink.net> <e2ec6f9a-e019-4388-8293-22109594aad9@googlegroups.com> <jtvbjd$lhm$2@speranza.aioe.org>

Show all headers | View raw


Le 15/07/12 23:10, jacob navia a écrit :
> What is the problem of storing an element in multiple containers that is
> feasible without problems in the proposed library: you store just a
> pointer to the objectinstead of the object itself. The  you can
> store the object in as many containers as you wish.

That sentence makes no sense sorry. It should be:

For storing an object in multiple containers you store a pointer
to the object instead of the whole object. That way, it is YOU that owns
the memory and the library allocates just the space needed to
allocate a pointer.

Back to comp.std.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

The C Containers Library jacob navia <jacob@spamsink.net> - 2012-07-08 21:53 +0200
  Re: The C Containers Library agottem@gmail.com - 2012-07-15 13:13 -0700
    Re: The C Containers Library jacob navia <jacob@spamsink.net> - 2012-07-15 23:10 +0200
      Re: The C Containers Library jacob navia <jacob@spamsink.net> - 2012-07-15 23:12 +0200
      Re: The C Containers Library agottem@gmail.com - 2012-07-15 16:15 -0700
        Re: The C Containers Library jacob navia <jacob@spamsink.net> - 2012-07-16 10:22 +0200

csiph-web