Article View: comp.std.c++
Article #1772Re: STL operators != > <= >=
From: Etay Bogner
Date: Tue, 15 Aug 1995 02:42
Date: Tue, 15 Aug 1995 02:42
22 lines
1836 bytes
1836 bytes
There is NO restriction on where and when one can add "stuff" to namespaces. Althought my solution is NOT perfect, it does solve the problem. The users of your class library should declare their code in the same namespace as your library. Again, this is NOT perfect, but is quite simple. There is even some logic in it, since your code is somewhat special, in a way that defines a SEPERATE "mathematical" space ( partial order ), so there is some logic in putting all the "partial order" code in a unique namespace, to be used both by the library and the users of the library. -- Etay Bogner, -- Etay_Bogner@mail.stil.scitex.com, -- Scitex Corp. -- Israel. --- [ comp.std.c++ is moderated. Submission address: std-c++@ncar.ucar.edu. Contact address: std-c++-request@ncar.ucar.edu. The moderation policy is summarized in http://dogbert.lbl.gov/~matt/std-c++/policy.html. ]
Technical Details
Message-ID:
<40gu5t$26l@lyman.pppl.gov>Path:
arc1-ca.pugleaf.net!in2.uu.net!bounce-backReferences:
<3vpmv5$4t7@mujibur.inmind.com> <3vpnrq$50c@mujibur.inmind.com> <MATT.95Aug7100148@godzilla.EECS.Berkeley.EDU> <4065oq$3f4@mujibur.inmind.com> <407n9d$nb7@lyman.pppl.gov> <409bjt$59c@mujibur.inmind.com> <40ba9d$5ij@lyman.pppl.gov> <40brjt$343@mujibur.inmind.com> <40cbmh$liu@lyman.pppl.gov> <40dnej$spe@mujibur.inmind.com> <40ebdo$5on@lyman.pppl.gov> <40g9be$p38@mujibur.inmind.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!in2.uu.net!bounce-back Date: 15 Aug 95 02:42:00 GMT Approved: fjh@cs.mu.oz.au Return-Path: <daemon@ncar.UCAR.EDU> From: Etay Bogner <Etay_Bogner@mail.stil.scitex.com> Newsgroups: comp.std.c++ Subject: Re: STL operators != > <= >= X-Original-Date: 12 Aug 1995 00:55:25 GMT Organization: Scitex Corp. Message-ID: <40gu5t$26l@lyman.pppl.gov> References: <3vpmv5$4t7@mujibur.inmind.com> <3vpnrq$50c@mujibur.inmind.com> <MATT.95Aug7100148@godzilla.EECS.Berkeley.EDU> <4065oq$3f4@mujibur.inmind.com> <407n9d$nb7@lyman.pppl.gov> <409bjt$59c@mujibur.inmind.com> <40ba9d$5ij@lyman.pppl.gov> <40brjt$343@mujibur.inmind.com> <40cbmh$liu@lyman.pppl.gov> <40dnej$spe@mujibur.inmind.com> <40ebdo$5on@lyman.pppl.gov> <40g9be$p38@mujibur.inmind.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 1.1N (Macintosh; I; PPC) X-Url: news:40g9be$p38@mujibur.inmind.com