Re: An illuminating experiment using platform().

new topic     » goto parent     » topic index » view thread      » older message » newer message
CChris said...

Hmm right.

This changes my earlier statement to:

  • platform() has no advantages over ifdef, so it could be deprecated or dropped;
  • there is an even stronger case for a deferred_ifdef statement, which would cause code selection at execution time, whether translated or shrouded, and not at initial parse time.

CChris

What is the semantic difference then betweeen deferred_ifdef and if?

Shawn

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu