Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| From | James Kuyper <jameskuyper@verizon.net> |
|---|---|
| Newsgroups | comp.std.c++ |
| Subject | Re: Calling conventions in the C++ standard |
| Date | 2013-10-01 19:16 -0600 |
| Organization | A noiseless patient Spider |
| Message-ID | <l2dfv7$ag$1@dont-email.me> (permalink) |
| References | <l2asv8$cb2$1@dont-email.me> |
On 09/30/2013 09:05 PM, Edward Diener wrote: > > Does the C++11 standard mandate anything regarding the use of calling > conventions ( __cdecl, _-fascall, __stdcall etc. ) in regard to > functions or is a purely implementation dependent idea ? The standard describes the behavior that is supposed to occur when a well-formed program is translated and executed using a conforming implementation, but how that behavior is achieved is outside the scope of the standard, it's up to each implementor to decide how to achieve it on any given platform. C++ is intended to be implementable on a wide variety of platforms. Specifying anything about the calling convention would unnecessarily prevent the implementation of C on hardware where the mandated calling convention is either a bad choice, or possibly even a meaningless concept. -- James Kuyper [ comp.std.c++ is moderated. To submit articles, try posting with your ] [ newsreader. If that fails, use mailto:std-cpp-submit@vandevoorde.com ] [ --- Please see the FAQ before posting. --- ] [ FAQ: http://www.comeaucomputing.com/csc/faq.html ]
Back to comp.std.c++ | Previous | Next — Previous in thread | Next in thread | Find similar
Calling conventions in the C++ standard Edward Diener <eldiener@tropicsoft.invalid> - 2013-09-30 19:05 -0600 Re: Calling conventions in the C++ standard James Kuyper <jameskuyper@verizon.net> - 2013-10-01 19:16 -0600 Re: Calling conventions in the C++ standard Daniel Krügler <daniel.kruegler@googlemail.com> - 2013-10-01 19:15 -0600 Re: Calling conventions in the C++ standard Helmut Zeisel <zei2011@liwest.at> - 2013-10-10 18:10 -0700
csiph-web