Click here to Skip to main content
15,881,281 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: I hope this isn't a programming question... (C++ Modules) Pin
Jeremy Falcon31-Jan-23 8:37
professionalJeremy Falcon31-Jan-23 8:37 
AnswerRe: I hope this isn't a programming question... (C++ Modules) Pin
honey the codewitch30-Jan-23 11:07
mvahoney the codewitch30-Jan-23 11:07 
GeneralRe: I hope this isn't a programming question... (C++ Modules) Pin
Jeremy Falcon31-Jan-23 8:36
professionalJeremy Falcon31-Jan-23 8:36 
GeneralRe: I hope this isn't a programming question... (C++ Modules) Pin
honey the codewitch31-Jan-23 8:57
mvahoney the codewitch31-Jan-23 8:57 
GeneralRe: I hope this isn't a programming question... (C++ Modules) Pin
englebart1-Feb-23 11:10
professionalenglebart1-Feb-23 11:10 
GeneralRe: I hope this isn't a programming question... (C++ Modules) Pin
Jeremy Falcon1-Feb-23 11:21
professionalJeremy Falcon1-Feb-23 11:21 
AnswerRe: I hope this isn't a programming question... (C++ Modules) Pin
Gary R. Wheeler30-Jan-23 12:01
Gary R. Wheeler30-Jan-23 12:01 
GeneralRe: I hope this isn't a programming question... (C++ Modules) Pin
Jeremy Falcon31-Jan-23 8:51
professionalJeremy Falcon31-Jan-23 8:51 
Gary R. Wheeler wrote:
Using header files the interface to the library can compile differently to how the library itself was compiled, usually depending upon preprocessor definitions and that sort of thing. My impression is that C++ modules guarantee that the user of a library sees the same interface, types, etc. that the compiler of the library saw.
Yeah, I'm not sure on that either. It would seem that's the case. From what I've Googled the modules import stuff is already precompiled into a Abstract Syntax Tree (AST), which AFAIK is after the pre-processor kicks in.
Gary R. Wheeler wrote:
For this reason it's frowned upon in more modern code.
Yeah, and don't get me wrong... I'm all about modern. But having the compiler make choices on your code before it gets compiled can be very useful... as we all know. Looks like the good must suffer with the bad. Sniff | :^)
Jeremy Falcon

AnswerRe: I hope this isn't a programming question... (C++ Modules) Pin
jmaida30-Jan-23 15:22
jmaida30-Jan-23 15:22 
GeneralRe: I hope this isn't a programming question... (C++ Modules) Pin
David O'Neil30-Jan-23 18:50
professionalDavid O'Neil30-Jan-23 18:50 
GeneralRe: I hope this isn't a programming question... (C++ Modules) Pin
jmaida30-Jan-23 19:10
jmaida30-Jan-23 19:10 
AnswerRe: I hope this isn't a programming question... (C++ Modules) Pin
megaadam30-Jan-23 22:06
professionalmegaadam30-Jan-23 22:06 
GeneralRe: I hope this isn't a programming question... (C++ Modules) Pin
Jeremy Falcon31-Jan-23 8:42
professionalJeremy Falcon31-Jan-23 8:42 
AnswerRe: I hope this isn't a programming question... (C++ Modules) Pin
jschell2-Feb-23 9:03
jschell2-Feb-23 9:03 
Generalcats made us love them several thousand years before we ,,, Pin
BillWoodruff30-Jan-23 3:15
professionalBillWoodruff30-Jan-23 3:15 
GeneralRe: cats made us love them several thousand years before we ,,, Pin
obermd30-Jan-23 3:36
obermd30-Jan-23 3:36 
GeneralRe: cats made us love them several thousand years before we ,,, Pin
Slacker00730-Jan-23 5:56
professionalSlacker00730-Jan-23 5:56 
GeneralRe: cats made us love them several thousand years before we ,,, Pin
Paul Kemner30-Jan-23 8:52
Paul Kemner30-Jan-23 8:52 
GeneralRe: cats made us love them several thousand years before we ,,, Pin
Paul Sanders (the other one)30-Jan-23 20:49
Paul Sanders (the other one)30-Jan-23 20:49 
GeneralRe: cats made us love them several thousand years before we ,,, Pin
Paul Kemner30-Jan-23 4:39
Paul Kemner30-Jan-23 4:39 
GeneralRe: cats made us love them several thousand years before we ,,, Pin
Single Step Debugger30-Jan-23 4:28
Single Step Debugger30-Jan-23 4:28 
GeneralRe: cats made us love them several thousand years before we ,,, Pin
dandy7230-Jan-23 4:36
dandy7230-Jan-23 4:36 
GeneralRe: cats made us love them several thousand years before we ,,, Pin
Single Step Debugger30-Jan-23 4:58
Single Step Debugger30-Jan-23 4:58 
GeneralRe: cats made us love them several thousand years before we ,,, Pin
Daniel Pfeffer30-Jan-23 8:43
professionalDaniel Pfeffer30-Jan-23 8:43 
GeneralRe: cats made us love them several thousand years before we ,,, Pin
Mike Hankey30-Jan-23 4:53
mveMike Hankey30-Jan-23 4:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.