473,672 Members | 2,944 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 1430
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
1562
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 installation, including directory structure and leftover components). I'm compiling with these options...
3
1302
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 and we have set up a number of templates to make it easy for them to create .net sites with...
14
1751
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
1884
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
1093
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
3576
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
1221
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 that I can ensure that the binary produced during compilation is a native binary, i.e. NOT IL code...
4
3013
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
2592
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 some option when compiling. This is, for instance, one of the codes: // template specialization...
0
8503
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8844
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8640
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
7469
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 project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6254
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5720
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4239
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
2091
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1835
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.