473,466 Members | 1,436 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

what is an opaque_type?

I see a declaraion in a open source software: "opaque_type( Doc );".
Then what is an opaque_type? Is it a macro?

Jan 23 '07 #1
4 1625
????? wrote:
I see a declaraion in a open source software: "opaque_type( Doc );".
Then what is an opaque_type? Is it a macro?
Who knows: the identifier "opaque_type" is not defined by the C++ language.
Without seeing the code you have before you, nobody can tell.
Best

Kai-Uwe Bux
Jan 23 '07 #2
乐乐大天师 wrote:
I see a declaraion in a open source software: "opaque_type( Doc );".
Then what is an opaque_type? Is it a macro?
In C and C++ an opaque type is a pointer to an incomplete type that is
never defined.

For information on the uses and benefits of opaque types see:

http://developer.apple.com/documenta...pts/index.html

Greg

Jan 23 '07 #3
乐乐大天师 wrote:
I see a declaraion in a open source software: "opaque_type( Doc );".
Then what is an opaque_type? Is it a macro?
In C and C++ an opaque type is a pointer to an incomplete type that is
never defined.

For information on the uses and benefits of opaque types see:
http://tinyurl.com/2n3mcz

Greg

Jan 23 '07 #4
On 22 Jan 2007 23:51:23 -0800, "Greg" wrote:
>=E4=B9=90=E4=B9=90=E5=A4=A7=E5=A4=A9=E5=B8=88 wrote:
>I see a declaraion in a open source software: "opaque_type( Doc );".
Then what is an opaque_type? Is it a macro?

In C and C++ an opaque type is a pointer to an incomplete type
I'd agree with that definition. Sometimes also void* is described as
opaque type which is IMO misleading and should be avoided.
>that is never defined.
.... that is not defined in a header file accessible to the user. It
needs to be defined somewhere.

Best regards,
Roland Pibinger
Jan 23 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: thecrow | last post by:
Alright, what the hell is going on here? In the following code, I expect the printed result to be: DEBUG: frank's last name is burns. Instead, what I get is: DEBUG: frank's last name is...
220
by: Brandon J. Van Every | last post by:
What's better about Ruby than Python? I'm sure there's something. What is it? This is not a troll. I'm language shopping and I want people's answers. I don't know beans about Ruby or have...
699
by: mike420 | last post by:
I think everyone who used Python will agree that its syntax is the best thing going for it. It is very readable and easy for everyone to learn. But, Python does not a have very good macro...
92
by: Reed L. O'Brien | last post by:
I see rotor was removed for 2.4 and the docs say use an AES module provided separately... Is there a standard module that works alike or an AES module that works alike but with better encryption?...
137
by: Philippe C. Martin | last post by:
I apologize in advance for launching this post but I might get enlightment somehow (PS: I am _very_ agnostic ;-). - 1) I do not consider my intelligence/education above average - 2) I am very...
12
by: Dario | last post by:
The following simple program behaves differently in Windows and Linux . #include <stdexcept> #include <iostream> #include <string> using namespace std; class LogicError : public logic_error {...
125
by: Sarah Tanembaum | last post by:
Beside its an opensource and supported by community, what's the fundamental differences between PostgreSQL and those high-price commercial database (and some are bloated such as Oracle) from...
47
by: Neal | last post by:
Patrick Griffiths weighs in on the CSS vs table layout debate in his blog entry "Tables my ass" - http://www.htmldog.com/ptg/archives/000049.php . A quite good article.
86
by: Michael Kalina | last post by:
Because when I asked for comments on my site-design (Remember? My site, your opinion!) some of you told me never to change anything on font-sizes! What do you guys think of that:...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.