Curiosity premise: I always ran Win10 setup on a bootable USB, prior set in Bios as 1st boot choice. Now I see videos of Win10.ISO contents copied to C: drive on a separate created drive partition and installed by running setup.exe. Or some show the WinISO setup.exe being run from a mounted folder on the existing system partition drive. Question: How does windows.iso setup (repair or clean install) get the reboot process to re-enter the ISO setup several times, and pick up where it left (prior to reboot) instead of starting over. What logistics are involved, in brief if possible. Appreciate any comments and links to pertinent study material on this. (I've read some on BCDEdit but not sure if this is what's happening on this?)
Rw237
Posts
-
Win.iso setup reboot process -
inline questionIn a template does inline hold the same meaning as when it's used in a class? I.e. the way I understood it in a class it "requests" the compiler to put it inline but the compiler was not required to do so and it was up to the compiler to decide. template inline T const& MyTemplateFunc (T const& a, T const& b) { return a < b ? b:a; }
-
template confusionThanks Richard and Victor for the consolations. This is a much nicer forum than some. I do try to research before posting but sometimes without help I get stumped.
-
template confusionThanks k5054, that must be it. Probably only novice learning dummies like me fail to ascertain that. You have cleared up my confusion and I can stop searching for this new mysterious syntax that I've never seen before.
-
template confusionI still haven't understood the [INLINE] square brackets thing (yet) but I've begun to understand the templates concept amongst all the syntax MUCH better when I found this Article here on Code Project. An Idiots Guide to C++ Templates-Part-1 So I guess I'm an idiot since that page helped me more than any I've read previous. A happy idiot now.
-
template confusionLearning programmer need some help. I understand c++ Classes and I used to think I understood namespaces. But while trying to learn templates I'm getting kinda confused what is going on with this template example. template const CharT* std::basic_string< CharT, Traits, Alloc >::c_str() const [inline] //and later the definition of the member function c_str() const _CharT* c_str() const { return _M_data(); } (a) Do you call the first line the template declaration? (b) Do you call the second line the template implementation or definition? (c) It appears to be a scope resolution :: to the member function c_str() but what is the [inline] bracket syntax? (d)Also I assume the < CharT, Traits, Alloc > are defined in the header (elsewhere) with some value (overloaded or not)? Just anywhere you can illuminate what I'm missing on the concept.