Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion uncalled class template members??
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Fergus Henderson  
View profile  
 More options Apr 2 1995, 4:00 am
Newsgroups: comp.std.c++
From: f...@munta.cs.mu.OZ.AU (Fergus Henderson)
Date: 1995/04/02
Subject: Re: uncalled class template members??

a...@panix.com (Atman Binstock) writes:
>    Could someone tell me what the current draft standard says
>about uncalled class template members? Need they be checked before
>allowing instantiation of the class?

No.  In fact the implementation _must not_ check them (other than
syntax checking).

>For example, if Vector<T>::sort()
>uses operator<(const T&, const T&), can you make a Vector<X>, where X
>does not support operator<, if Vector<X>::sort() is never called?

Yes, you can.

--
Fergus Henderson - f...@munta.cs.mu.oz.au


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.