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


Groups > comp.lang.c++ > #6399

Re: Persisting a structure: Valgrind errors

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From Miles Bader <miles@gnu.org>
Newsgroups comp.lang.c++
Subject Re: Persisting a structure: Valgrind errors
Date Wed, 08 Jun 2011 17:18:29 +0900
Organization NEC Electronics
Lines 14
Message-ID <buosjrk91nu.fsf@dhlpc061.dev.necel.com> (permalink)
References <ise7gc$6k2$1@dont-email.me> <4deb1ab9$0$2827$7b1e8fa0@news.nbl.fi> <4deb1e72$0$18240$4fafbaef@reader2.news.tin.it> <isfiuh$klm$1@dont-email.me> <4deb5777$0$38647$4fafbaef@reader1.news.tin.it> <isga30$qr8$1@dont-email.me> <4dedc325$0$2829$7b1e8fa0@news.nbl.fi> <0cbab348-81be-48ee-9645-9233704f63ce@z15g2000prn.googlegroups.com> <4dede409$0$2876$7b1e8fa0@news.nbl.fi> <buo7h8waneg.fsf@dhlpc061.dev.necel.com> <cb94312b-751c-4cb1-b382-fe5a332f86cf@v11g2000prk.googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=iso-8859-1
Content-Transfer-Encoding 8bit
X-Trace individual.net b5AOGV5dPcssszETG/Nl7wrocOTQIF4WBP9l2Ej90K2P6W03jb
Cancel-Lock sha1:+10orgv380gj8iPU//XpXoZZD3s= sha1:M7SdQkkYC9ZSpqxXaFz6IbCnpAI=
System-Type x86_64-unknown-linux-gnu
Blat Foop
Xref x330-a1.tempe.blueboxinc.net comp.lang.c++:6399

Show key headers only | View raw


Joshua Maurice <joshuamaurice@gmail.com> writes:
>> That's true in C, but not in C++.  C++ doesn't implicitly convert
>> to/from void*.
>
> In C++, all pointers to objects implicitly convert to void pointer.

Ah, you are right -- it's only the _from_ void* conversion that C++ omits.

-Miles

-- 
[|nurgle|]  ddt- demonic? so quake will have an evil kinda setting? one that
            will  make every christian in the world foamm at the mouth?
[iddt]      nurg, that's the goal

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


Thread

Persisting a structure:  Valgrind errors Ramon <ramif_47.invalid@yahoo.co.uk> - 2011-06-04 23:19 +0200
  Re: Persisting a structure:  Valgrind errors Ian Collins <ian-news@hotmail.com> - 2011-06-05 10:59 +1200
    Re: Persisting a structure: Valgrind errors Ebenezer <woodbrian77@gmail.com> - 2011-06-04 18:11 -0700
      Re: Persisting a structure: Valgrind errors Öö Tiib <ootiib@hot.ee> - 2011-06-04 18:56 -0700
  Re: Persisting a structure:  Valgrind errors Juha Nieminen <nospam@thanks.invalid> - 2011-06-05 05:57 +0000
    Re: Persisting a structure:  Valgrind errors "io_x" <a@b.c.invalid> - 2011-06-05 08:14 +0200
      Re: Persisting a structure:  Valgrind errors Ramon <ramif_47.invalid@yahoo.co.uk> - 2011-06-05 11:40 +0200
        Re: Persisting a structure:  Valgrind errors "io_x" <a@b.c.invalid> - 2011-06-05 12:17 +0200
          Re: Persisting a structure:  Valgrind errors Ramon <ramif_47.invalid@yahoo.co.uk> - 2011-06-05 18:15 +0200
            Re: Persisting a structure:  Valgrind errors Asger-P <junk@asger-p.dk> - 2011-06-05 18:44 +0200
            Re: Persisting a structure:  Valgrind errors Juha Nieminen <nospam@thanks.invalid> - 2011-06-07 06:20 +0000
              Re: Persisting a structure: Valgrind errors Joshua Maurice <joshuamaurice@gmail.com> - 2011-06-07 00:24 -0700
                Re: Persisting a structure: Valgrind errors Juha Nieminen <nospam@thanks.invalid> - 2011-06-07 08:40 +0000
                Re: Persisting a structure: Valgrind errors Miles Bader <miles@gnu.org> - 2011-06-08 14:43 +0900
                Re: Persisting a structure: Valgrind errors Joshua Maurice <joshuamaurice@gmail.com> - 2011-06-07 23:37 -0700
                Re: Persisting a structure: Valgrind errors Miles Bader <miles@gnu.org> - 2011-06-08 17:18 +0900
        Re: Persisting a structure:  Valgrind errors Nobody <nobody@nowhere.com> - 2011-06-05 18:42 +0100
    Re: Persisting a structure: Valgrind errors Ebenezer <woodbrian77@gmail.com> - 2011-06-05 13:22 -0700
  Re: Persisting a structure:  Valgrind errors Asger-P <junk@asger-p.dk> - 2011-06-05 12:04 +0200

csiph-web