473,513 Members | 2,552 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

compiling templates

There are two strategies for compiling templates: the includsion model
and the seperate compilation model. Could you please tell me which
models vc++ and gcc take, respectively?
Thanks.

Oct 25 '06 #1
2 1421
asdf wrote:
There are two strategies for compiling templates: the includsion model
and the seperate compilation model. Could you please tell me which
models vc++ and gcc take, respectively?
Thanks.
AFAIK, only the inclusion model is available for both compilers.

Stuart
Oct 25 '06 #2
Thanks.

Stuart Redmann wrote:
asdf wrote:
There are two strategies for compiling templates: the includsion model
and the seperate compilation model. Could you please tell me which
models vc++ and gcc take, respectively?
Thanks.

AFAIK, only the inclusion model is available for both compilers.

Stuart
Oct 25 '06 #3

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

Similar topics

0
1554
by: tevans | last post by:
I'm using Slackware GNU/Linux 9.0 on an Intel PII 266 machine that's SMP capable, but only with one CPU installed, and 64MB of RAM. It's basically a small test system that I play around with in some free time before installing things on my larger systems. I am trying to do a fresh install of MySQL 4.0.14 (I removed the previous 3.23.56...
3
1290
by: Ryan O'Neill | last post by:
Hi All, I am trying to deploy .aspx (asp.net) web pages to a web server without having to compile them beforehand. Using the CodeBehind approach this does not seem possible as the CodeBehind (.vb file in this case) must be compiled into a class which is then inherited from the .aspx. The reason for this is simple, the designers use Mac OSX...
14
1737
by: Luc Mazardo | last post by:
The following code works with g++ 2.75 but i've some troubles with compiling with g++ 3.0. Thanks in advance if you have a solution. Here is the error message. main.hpp:28: specializing `struct std::hash<std::string>' in different namespace /usr/include/g++-v3/ext/stl_hash_fun.h:68: from definition of `template<class
5
1876
by: jose luis fernandez diaz | last post by:
Hi, When I compiling the program below: #include <map> using namespace std; template<typename td1, typename td2, typename td3,typename td4> class Tarificador
5
1086
by: Dan | last post by:
I have a web project which includes a class module that I would like to compile into a dll. Is this the right approach to provide a bunch off common functions? How do I compile this module? Thanks for your help.
18
3559
by: Al | last post by:
I'm still trying to do this but it never worked! In a .cpp file, I write the code, and at the beginning, I write: #ifndef MYLIST_H #define MYLIST_H ....to end: #endif What's wrong with it for creating a header file when compiling? Do I need to write in the block the #include (s)?
2
1212
by: Bart Simpson | last post by:
I am writing a communications library which makes extensive use of the STL and templates in general. I am using VC7 to compile because of alledged better support for templates etc. However, I have not been able to get a simple question answered. Will my C++ code be compiled to IL? (I hope not). Is there anyway in the project settings etc...
4
3005
by: Dinakara | last post by:
Hi, I am programming with C++ using the gcc compiler. Compiler : gcc version 3.4.3 OS : Red Hat 3.4.3-9.EL4. I am not able to run the following program that declares a Template: Can some body please help? There a total of three simple files whose contents, which I have copied here.
6
2584
by: Josefo | last post by:
Hello all. I am a newbie following the C++ tutorial in : http://www.cplusplus.com/doc/tutorial/templates.html I am unable to succesfully compile any of the examples with templates of this tutorial. I use the standard c++ compiler which comes with ubuntu breezy distro. I guess that somethig is wrong with it or (more likely..) I should use...
0
7270
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7178
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7565
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7128
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7543
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
4759
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3255
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3242
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
473
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.