Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 19th, 2005, 05:17 PM
John Dibling
Guest
 
Posts: n/a
Default Definition of POD types

Could somebody please direct me to a location in the standard where
POD types are defined? That is, where in the standard is it defined
what attributes a POD type has that a non-POD hasn't? Also, what does
the acronym stand for?

Thanks,

</dib>
John Dibling
Witty banter omitted for your protection
  #2  
Old July 19th, 2005, 05:17 PM
Alf P. Steinbach
Guest
 
Posts: n/a
Default Re: Definition of POD types

On Mon, 11 Aug 2003 17:49:17 GMT, John Dibling <dib@substitute_my_full_last_name_here.com> wrote:
[color=blue]
>Could somebody please direct me to a location in the standard where
>POD types are defined?[/color]

§9/4: POD struct, POD union and POD class (the latter is a general term
for POD struct or POD union).

§3.9/1: POD type.

[color=blue]
>That is, where in the standard is it defined what attributes a POD type
>has that a non-POD hasn't?[/color]

It's actually opposite; see the first reference above.

[color=blue]
>Also, what does the acronym stand for?[/color]

Plain Old Datatype.

  #3  
Old July 19th, 2005, 05:17 PM
John Dibling
Guest
 
Posts: n/a
Default Re: Definition of POD types

On Mon, 11 Aug 2003 14:05:22 -0400, "Victor Bazarov"
<v.Abazarov@attAbi.com> wrote:
[color=blue]
>Can't you search the Standard for "POD"? <sigh>...[/color]

Of course I did. Found many references to datatypes which were
described as being POD types or non-POD types, but nowhere was the
term POD defined.
[color=blue]
>3.9/10 "Arithmetic types (3.9.1), enumeration types, pointer types,
> and pointer to member types (3.9.2), and cvqualified versions of
> these types (3.9.3) are collectively called scalar types. Scalar
> types, POD-struct types, POD-union types (clause 9), arrays of such
> types and cv-qualified versions of these types (3.9.3) are
> collectively called POD types."[/color]

Saw this, but it didn't explain what common attributes correlated
these types as POD types. Especially since the desription is more
thatn somewhat self-referential, I did not find enlightenment here.
[color=blue]
>POD stands for Plain Old Data.[/color]

<click> This explains a great deal. Everything, in fact. All
questions answered. Thanks.

</dib>
John Dibling
Witty banter omitted for your protection

  #4  
Old July 19th, 2005, 05:17 PM
John Dibling
Guest
 
Posts: n/a
Default Re: Definition of POD types

On Mon, 11 Aug 2003 18:01:05 GMT, alfps@start.no (Alf P. Steinbach)
wrote:

[color=blue]
>Plain Old Datatype.[/color]

Thanks much.

</dib>
John Dibling
Witty banter omitted for your protection

 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles