« first day (562 days earlier)      last day (4378 days later) » 

2:00 PM
const greeting & g = make_greeting(current_mood(), current_time());
 
y u guys expensive copy greeting!
 
Fixed.
 
Or is that a move? :P
 
@classdaknok_t Because we're in a good mood.
Actually if greeting is fully determined by current mood and time then it could be a singleton relative to those two parameters.
Or something like that.
 
And of course make_greeting is a singleton factory.
Godverdomme linker y u fail.
 
2:04 PM
singleton<greeting_t<mood_t, time_t> >::instance
 
Oh nice we got this awesome universal binary linking architecture 32-bits shit again.
@StackedCrooked for singletons you obviously use the curiously recurring template pattern idiom, or however that's called.
class Greeting : public Singleton<Greeting> { … }
 
crtp
@classdaknok_t I have a singleton implementation that does that :)
 
@StackedCrooked cool.
 
crtp tmp is mad shit
 
I once foolishly tried to defend it here, of all places...
 
2:07 PM
Singletons are great for implementing color pickers!
 
It was a singleton implementation that featured scoped lifetime while sacrificing lazy instantiation. I thought that was pretty useful.
 
@StackedCrooked did it do lazy initialization without memory leaks?
 
Nope, I said it sacrifices lazy instantiation.
 
ah
boost::filesystem::ifstream stream(path);
if (!stream) throw std::runtime_error("couldn't open file.");
// why doesn't this throw? the file at path doesn't exist.
Nevermind, it does.
SingletonCuriouslyRecurringTemplateClassInstanceObjectFactory.
 
157
Q: How do I make my document look like it was written by a Cthulhu-worshipping madman?

CanageekI want to type up some spells from the RPG Call of Cthulhu and give them to my players. I could just type them up in Word or LaTeX, but that seems too...neat. I'd like to make these things look like they were scrawled by a gibbering madman, unhinged by the horrors he has witnessed. Bonus points i...

 
2:15 PM
Wow, that comment..
 
This one?
If you're not focusing entirely on LaTeX, you can d͔͖̗͇͒ͫ̒͒͝o̸̬̠̟͎̥̬̙ͥͨ͑̅͂̅ ̸͚̞̫͕͇̠̊́̔ͩͪ̏ś̥̋̇o̷̺ͩm̭̙̥̩̜ͩ̚e͌͌̈ ̖̙̪̯̣͎͒ͅa̡̖͊̄̆m̸̱̎̊̈ͭ͊ͅà̙̺̱̻͖͕̫̏͒̍̾̚z̎͐̔i̛̹̺̩̬n̼̙̩̣ͤͦ́ͬ͒ͩg̈́͑ͥ҉̹͈ ̞̯̯̫̪̥̰̽̇t͎̹̲̆̽͂̂ͧ̑h̩̓͛i̵͈̰̗ͤͅṉ̘ͮͥ̆̄g̳͈͔̜͚̦̯͒̓͛͊ͦ͗̀s͒̑ͩ̉҉̯̮̫̣͓̼ ͚̯͖̻̥͙̻͋̓ͯ̊̋w̮̤͕͖̲̐̒̂͗͋̓iͬ̉̽ṭ͎̹̜͙̮͑ͭ͋h̼͎̾ͬͫ͑̀ ̣͍͔̳ͬͥ̽̏̇͗ͧu̢̽̽ͨ̍̈́n̤͈̗̼̘͕̂ͪi͎͚c̜̪͕͍̭ͬͩ͞ͅo̲̫͆ͥ̑ͮ̂͑d̂̿͞e̮̙̹̞ͣ͌̐ͫ!̣̪͇̫̝͗̅ͦ͛̕ͅ (Added as a comment since the question is protected.) Tool for generating such text is here: textozor.com/zalgo-textFake Name Sep 25 '11 at 11:32
Meh it's fucked up in chat.
 
Wait, I just realised. Is the Zalgo effect achieved by stacking a ridiculous amount of combining marks?
 
Is “use Comic Sans” an valid answer? — Caramdir Sep 24 '11 at 21:20
@LucDanton Wow, that was... slow.
 
To be fair I've never wondered about that. I mean, we're talking about Unicode here.
 
But have you guys looked at the top answer?
It's awesome.
 
2:18 PM
Well, at the end result.
 
> For an elder sign, just use \eldersign.
Lovely.
 
@RMartinhoFernandes Yeah but I know nothing about Latex.
 
Looks similar to what I usually write.
 
So assuming using variant_type = variant<int, double, recursive_variant>; and if you do variant_type u = 0; auto v = u; what do you assume v.which() to be? And should I care about properly supporting such a silly use case?
 
@StackedCrooked Well, just look at the last portion, which is the actual usage.
 
2:20 PM
(The interesting cases are going to involve e.g. std::pair<recursive_variant, recursive_variant> and so on.)
 
@LucDanton I don't understand. A copy?
 
Yeah. The Boost.Variant equivalent doesn't though. v.which() is 2.
Ah well, mine is going to be sensible and copy (can you imagining if you return that thing through several functions?). Moving on to the interesting cases now...
 
I am proud to announce release MinGW-w64 GCC builds (not quite "official", but as close as you're gonna get anytime soon) of GCC versions 4.5.3, 4.6.3, and 4.7.0. I refrained from doing anything magical, like make <thread> work for 4.7.0, cause it caused issues with some Boost stuff and other code (someone here reported that to me). So please enjoy the binaries:
 
I've been tinkering with variant to create S-expressions. It was something like: variant<int, double, std::string, std::vector<recursive_variant>>.
End of story.
 
Hmm, not quite it.
std::list would be more fitting.
 
2:26 PM
The 4.5.3 stuff is still uploading, so don't expect it to work yet.
 
user784668
@rubenvb Magical? How is using the vanilla source and passing one innocuous option to configure magical in any way?
 
@RMartinhoFernandes std::deque.
 
@RMartinhoFernandes In the spirit of "list processing", or for pragmatic reasons?
 
@Fanael Well, it took quite a bit of work to make everything work, thank you very much.
 
Or std::pair<recursive_variant, recursive_variant>.
 
2:27 PM
And for 4.6 you'd need backport patches yes. Some would call that magical.
 
user784668
@rubenvb But you said "like make <thread> work for 4.7."
 
@RMartinhoFernandes How does one instantiate that? :D
 
#define absolutelyFreakinFalse false
 
@StackedCrooked In the spirit of it. An S-expr is either an atom, or a pair of S-exprs.
 
From dat PNG C++ question:
> Usually the compiler can figure out the language itself. For instance, if the PNG is obviously drawn with crayons, the compiler will know it contains Visual Basic.
Love that answer.
 
2:29 PM
@Moshe Don't be cute is the title of one of the chapters in Clean code :)
 
mawnin
 
Ah, gone already.
The flag system worked!
For the benefit of those that missed it, it was a request for help or something that started with plinks to ~10 people.
 
user784668
@rubenvb Seriously, calm down. I only asked a question, I don't see how it could be offensive in any way.
 
@StackedCrooked Just ordered that book. Thanks. :-D
 
2:33 PM
@Fanael very well. But if you don't know how much work (mostly not mine, but other peoples') went into something, don't minimize their effort. GCC on Windows is a bitch anyway you put it, and anything that works now that did not before always required a thorough effort.
 
user784668
@rubenvb I know how much work compiling GCC on Windows requires, thank you.
 
I'm not talking about compiling it. I'm talking about making new stuff GNU people didn't think of on Windows work.
And there's that condescending tone again.
 
user784668
@rubenvb Like what?
 
> internal compiler error: tree check: expected tree_vec, have error_mark in comp_template_args_with_info, at cp/pt.c:6998
Welp.
 
@Fanael #include <thread>.
 
2:36 PM
All just because I added aliases for std::add_pointer and std::remove_pointer, apparently.
 
user784668
@rubenvb Ugh, GNU people did think of it (I don't doubt somebody had to help them with thinking, but it got integrated upstream). Straight from the GCC 4.7 "Changes, New Features, and Fixes": "Support for the configure option --with-threads=posix for Windows mingw targets".
 
@RMartinhoFernandes this is what I call spam
 
Ah, commenting out the alias for std::remove_pointer makes it work. And yet I don't use that alias anywhere. Fascinating.
 
@Fanael No, that's not GNU people, that was ktietz from MinGW-w64. GNU people care close to nothing for Windows.
 
user784668
@rubenvb "(I don't doubt somebody had to help them with thinking, but it got integrated upstream)"
 
2:40 PM
@Fanael You're praising the fact they accepted a Windows patch? I sincerely don't understand what you're getting at.
It was also ktietz that wrote the winpthreads library that made the option make any sense (pthreads-win32 is incomplete for C++11 threading)
 
user784668
@rubenvb I'm not praising anything.
 
user784668
Whatever, it seems we're not understanding each other.
 
It's heartbreaking.
 
user784668
@StackedCrooked Yeah, absolutely :(
 
And it seems I'll be getting that 32-bit fully working Clang out the door too.
(Including exceptions)
 
2:44 PM
@StackedCrooked indeed
 
What's the kind of std::forward use that is ill-formed? T&& -> T&?
 
Mmh, is it clear what the first argument is doing in Or<Bool<false>, is_recursive<T, Variant>...>?
 
no
 
I can instead change that to Or<is_recursive<T, Variant>, is_recursive<Ts, Variant>...> but that feels like repeating myself, especially later on.
Well I'm keeping it that way. I don't want to make Template<StoreRecursive<T, Variant>...> longer than it already is.
I need typename... T@(U, Us...) D:
 
2:52 PM
@LucDanton Why do you need that?
 
ohhhh, I get it
 
@RMartinhoFernandes Empty pack should give ::value == false.
 
@LucDanton Oh man, I've been pining for that as well.
 
Or<>::value is true.
 
@LucDanton Mine is false.
I named it Any.
 
2:53 PM
Well you're clearly wrong.
"Is there an element x of the empty set for which x == 42 holds?"
 
I'd have made it false.
 
Better check dem laws again.
 
In or<>, no value passed to the or template was true, therefore or<>::value is false.
 
@LucDanton Does any of the conditions in the empty set hold?
 
@RMartinhoFernandes I'm trying to remember but failing. So I'm taking a refresher course right now.
> It is easy to see that the empty conjunction is trivially true, and the empty disjunction trivially false.
 
2:58 PM
Tada.
 
template<typename... T> struct Or: std::false_type {};
I think you told me to fix it at some point.
 
3:22 PM
@RMartinhoFernandes Removing -Wfatal-errors does print out more errors but a lot of the time they're worthless :|
 
I feel naughty now
 
y u so notty
 
I was automatically banned.
 
@LucDanton Oh sure. It just pisses me off that it cuts some useful ones short.
 
Does that mean an anonymous mod banned me or teh SO Chat AI did so?
 
3:33 PM
Not to mention I just got a super extra lengthy output. Took something like 8s for Vim to make that scroll.
 
A Windows Clang that works is very, very near.
 
33
Q: Can you mount a network switch upside down?

Mark HendersonWe just took delivery of a new Avaya 2500 48-port switch, that has 24 PoE ports. The problem is that all the PoE ports are on the left-hand size of the switch, and our PoE device cables can only reach the right-hand side of the switch (we're upgrading from an old switch to a new one, and the old ...

lol
 
When writing a law application you throw objections.
 
Mmm burgers.
 
@rubenvb Probably because of that flag? I didn't validate it, btw.
 
3:43 PM
@RMartinhoFernandes Yeah, that. But it didn't mention a name though. A flag doesn't automatically ban you does it?
 
If enough people validate it, you get a 30-minute suspension.
 
aha. That explains it.
 
Why do 1TB and 2TB hard drives almost cost the same? Are the 2TB hard drives inferior in some way (speed, noise, durability)?
 
Is there a club for people that have been banned?
@FredOverflow statement too general to answer; one 2TB HDD isn't equal to another 2TB HDD.
 
@LucDanton Of course it's a hack. If it weren't a hack, you wouldn't have to play around with weird packages. :P
 
3:46 PM
@CatPlusPlus What? I'm not using anything weird :(
 
@rubenvb Well, I mean the 1TB and 2TB variants by the same producer, for example Seagate.
 
Unity is fail.
 
Doesn't make the package weird.
 
At least KDE errors are hilarious. Like taskbar crashing.
 
@CatPlusPlus Did they improve Unity in Ubuntu 12.04?
 
3:47 PM
@FredOverflow same product line? Barracuda/Server/etc...
 
Added some options IIRC.
 
user784668
@FredOverflow Yes, it crashes even more often!
 
Same rpm/cache/respns etime?
 
I switched to KDE before dist-upgrade.
 
@CatPlusPlus What browser do you use?
 
3:48 PM
And after dist-upgrade I had to remove Unity because dependency problems.
 
@rubenvb For example, the ST1000DL002 costs 97 Euro, and the ST2000DL003 (twice the size) only costs 1 Euro more.
 
@FredOverflow huh. Both Barracuda Green.
 
Probably stock vs price issues
 
@rubenvb Chrome.
And Firefox, a bit.
 
3:52 PM
1TB.
 
totally misread it
 
@CatPlusPlus How's the GTK vs KDE integration? Or don't you rely on KGet and other KDE stuffs?
 
I have no idea what KGet is.
 
OK.
It's KDE's download manager.
All KDE apps can integrate with it.
 
@rubenvb So is Widget a download manager for Wid?
 
3:54 PM
The popular browsers are written for GTK, so integration into KDE is pretty sucky all over.
 
@rubenvb I simply cannot buy a 2TB drive that costs practically the same as a 1TB drive. I'll always think it must be inferior in some way!
 
Browsers can download fine on their own.
All HDDs are disasters waiting to happen.
 
So should I replace my HDDs with cloud space? :)
 
@FredOverflow Or maybe it's a 1TB drive that is overpriced!
 
@LucDanton I think I have lost the ability to buy hardware, there's simply too much choice :(
 
3:56 PM
lol
 
Cloud is disaster happening everywhere at once!
 
The Cat is in a depressive mood today
 
@CatPlusPlus So then what? Write everything down on paper?
 
Stone tablets.
 
4:11 PM
hihi
 
wow
I just submitted a bug report to JuliaLang and not even five minutes later somebody answered and delegated the issue to two developers
 
That's because you are their first user ever.
3
 
question: is there a application someone's made somewhere that can wrap another application window inside of it?
odd question but its to get around a bug
*with someone else's program
 
@Hamster VirtualBox?
Seems like I'm in an unhelpful mood today.
 
hmm, virtualization has lots of overhead
 
user784668
4:16 PM
@Hamster Xephyr?
 
@Hamster Remote desktop :D
 
user784668
@Hamster A reparenting window manager?
 
@Fanael yeah something like that
 
> Genauso wie das menschliche Auge sich ans Licht gewöhnen muss, wenn es aus der Dunkelheit kommt, muss sich das Auge eines Mannes wieder an seine Frau gewöhnen, wenn er aus der Nacktbar kommt.
lol
 
Nacktbar means nude bar or night bar?
 
4:19 PM
the former
 
How do you say night bar then?
 
Nachtbar
 
Just like in Dutch then.
 
> Just as a man's eyes must adjust to the light when he's been in the dark so too must a man's eyes adjust to his wife when he's been at the nudie bar.
^ translation found via Google
 
A very good one at that.
 
4:23 PM
I think German is less ambiguous than many other languages.
 
for example?
 
So explain to me like I'm 5 how I'd acquire and use a reparenting window manager (this is for an app I'm using under Windows Vista) to wrap an application window?
 
I think the strict grammar rules are helpful for the algorithm.
 
Or 10, least. Maybe 15.
 
@Hamster How old are you really?
 
4:25 PM
;)
seems like something i could do from some powershell wizardry...
it is a C# application
heck if i know offhand where to even begin doing it that way
i'm sorry i'm in a C++ chat i hadn't realized it was C#
nvm i'll figure this out myself. thanks for giving me a name for the solution, though
 
That's okay, we tolerate C# in the lounge ;)
 
4:43 PM
Depending on the mood.
 
# is just a two +, but very close to each other
 
user784668
@Abyx Four.
 
Ell
we tolerate anything as long as you shiftily ease the conversation from c++ to the topic you want :L Just start out proposing a dynamic type system for c++ then mention how c# does it. Bam - you can talk about c# ;)
 
@Abyx more like four + really, I suppose if you let the + be shapped in a funny way, they could over lap
 
user784668
@Ell We don't tolerate Java.
 
4:48 PM
@Ell my observation was we tolerate anything but Java. And religion. And a few other things.
 
what about php?
 
Ell
haha okay :L ...how about C?
 
user784668
@Abyx Begone, now.
 
@Ell C is iffy, we don't discuss C programs, but we do discuss the C language.
 
@Fanael why me? You can get out of here if you don't like to see "php"
 
Ell
4:51 PM
I'm stuck on something - my overly ambitious game project is 3d but I am struggling with a map format
and wow my vm linux mint boots rediculously fast
the game is actually a clone of another game but in that game the map is 2d isometric
meh nevermind - sorry I am rubber ducking again :L
 
user784668
@Ell Use JITed C++ code as your map format.
 
Ell
@Fanael somehow I don't think that is the optimal solution
 
@Ell so just use a 2d matrix, if world has only one level
 
Ell
well each "level" has any number of terrains (but really only 1-6)
it is mostly flat
but has rivers and hilly regions that cant be built on
and oceans
 
or, use a matrix of linked lists, if there are multiple levels (layers)
 
user784668
4:55 PM
@Ell It's meant to be kewl, not optimal.
 
Ell
well its the file format thats the trouble
@Fanael haha :L that would be "kewl"
I think I will just use a heightmap, and then a heatmap for the likelyhood of various structures generating
 
aaaarrrggrgh
 
Ell
haha
 
By the way, I ran make but I didn't ./configure clang with --prefix=/clang. Can I change this before make installing it?
Or do I need to compile it again? Stupid configure scripts.
 
In case of doubt it's better to start from scratch.
 
5:02 PM
You can do it but make will likely rebuild before install
 
Any idea why they chose Objective C over C++ on iOS ?
 
iOS supports C++.
 
user784668
@ScarletAmaranth They already had lots of Obj-C code.
 
@ScarletAmaranth because Mac OS X already had large parts written in Objective-C so it was easy to port. The only real, big difference between Mac OS X and iOS is the UI.
 
that makes sense, ta
 
5:05 PM
Write your app in C++ and add a thin layer of Objective-C++ on top.
Might even be cross-platform that way.
 
Ell
is it bad practise to have functions like this:
 
So in theory, i could possibly port my c++ code to both Android and iOS ?
 
Ell
void SetupOgre();
void SetupWindow();
void SetupFrameListener();
void SetupCEGUI();
void SetupOIS();
 
It's always bothered me that according to en.wikipedia.org/wiki/…, we've been using the Big-O notation wrong for things like quicksort, or anytime we used "amortized".
 
Ell
then all of those functions just called in sequence in one void Go() function? It doesn't seem right but its also splits things up
 
5:07 PM
@Ell Initialization should happen in the constructors.
 
Ell
@StackedCrooked yeah - it's not initialization though
 
What's the difference?
 
@Ell Setup should happen in the constructors :p
 
@StackedCrooked I'll just check out and rebuild from scratch.
 
Ell
:L
 
5:07 PM
L:
 
Ell
should I still split it up?
 
@classdaknok_t I like the cut of your jib.
@Ell You are using functions here as a means of splitting a large amount of code into different sections.
 
Ell
yes
that would otherwise be in one big function. the problem is they are just exeecuted sequentially - so they may as well be one big function
 
oh man
 
@Ell except for readability, yes. But readability is important
 
5:11 PM
my internet's been dead for like, two whole hours
what a trauma :(
 
That's painful.
 
Ell
so should I leave it split up or is my design lacking?
 
@DeadMG Diablo 2 and/or cellphones
 
Is this good practice? Because I'm so bad at English… ideone.com/kLrgz
 
Ell
wait a minute... what does terug mean?
 
5:13 PM
@classdaknok_t acceptable to me, why is terug?
 
"return x" in Dutch is "geef x terug"
 
@classdaknok_t redefining things in the std namespace is a bad idea though, put that in a dutch namespace
 
Or rather "breng x terug" oh well.
 
@classdaknok_t oh, makes sense. Try to replace it with a similar construct that's one word
 
@MooingDuck are you taking this seriously?
 
5:14 PM
@Ell I kind of prefer to fixate the order. For example by associating each function with a member variable, and then rely on the order of initialization of member variables. Multiple inheritance could be used as well.
 
@classdaknok_t vaguely,yes
 
@MooingDuck well, it was a joke. :P
 
Although reading that relying on the order of initialization of member variables is not recommended.
 
@classdaknok_t ideone.com/C6CLj now standards compliant!
 
Ell
and if one of them fails theres pretty much no point in carrying on so
 
5:15 PM
@MooingDuck somewhat better: ideone.com/GU4pJ
 
@classdaknok_t I don't think that's (necessarily) better, macros pollute the namespaces when it's not necessary in this case.
 
kuit? Are you serious?
 
#define kuit cout
Doesn't make sense.
 
Ell
@StackedCrooked the member variables depend on eachother. Its sounding like a god object but theres no other way
if I split it up I would end up doing the same thing anyway - connecting it all up
 
@Ell Ok then.
 
5:17 PM
std::cout is stuit cuit like std::shared_ptr is stuit puiter right?
 
@StackedCrooked karakter uit :P
 
Ah zo.
 
@LucDanton It's more stud. Also, I think that it's usually C out. I usually go with kout though.
 
Ell
dindins!
see you later, all
 
@DeadMG More of a schwa than [u] then?
 
5:20 PM
schwa?
 
The "better throw an unspecific vocalic sound here" sound.
 
nah
kout like gout
 
user784668
@DeadMG It's the most common vowel in English, and you don't know what it is?
 
or spout
@Fanael schwa sounds German to me. I don't know offhand any English word that looks or sounds like that.
e is the most common vowel in English.
 
@DeadMG Is that like 'stout'?
 
user784668
5:22 PM
@DeadMG Actually, it's from Hebrew.
 
@LucDanton Yes.
 
user784668
@DeadMG No, it's the most common letter.
 
@Fanael Then why did you say it was the most common vowel in the English language?
 
Oh wait you mean 'kout'. I was still referring to the STLesque 'stud pooter'.
 
@Fanael Which also by definition makes it the most common vowel.
 
user784668
5:23 PM
@DeadMG Because it is. The fact that the word "schwa" comes from Hebrew doesn't change anything.
 
user784668
@DeadMG There's a difference between a letter and a sound, you know.
 
@LucDanton I've never heard STL pronounce std::cout, so I have no idea how he says it. I just say kout.
 
Anyway the schwa, if there is any, would be in 'stud'/'stood', not in 'kout'/'gout'/'stout'.
 
@DeadMG really? In my area we pronounce it like "sout"
 
I have never heard of schwa.
 
In linguistics, specifically phonetics and phonology, schwa (sometimes spelled shwa) can mean the following: *An unstressed and toneless neutral vowel sound in some languages, often but not necessarily a mid-central vowel. An example in English is the vowel sound in the second syllable of the word sofa. Such vowels are often transcribed with the symbol ə>, regardless of their actual phonetic value. *The mid-central vowel sound (rounded or unrounded) in the middle of the vowel chart, stressed or unstressed. In IPA phonetic transcription, it is written as . In this case the term mid-central...
 
@MooingDuck Just gone there myself
 
@DeadMG The word schwa is from the Hebrew word shva... the spelling sch is German in origin... In English, schwa is the most common vowel sound.
 
@MooingDuck Thanks so much. I must have forgotten my 9999 years of Hebrew and German education.
 
for (auto i=first, i!=last, ++i)
    std::cout << *first << ' ';
I might be a little retarded
5
 
5:29 PM
A little?
Make it auto& and it works!
 
I was trying to figure out the odds of my RNG making an entire array of 24 of the same number :/
 
@MooingDuck Slim.
 
@DeadMG 2.53794184 × 10-116 (assuming truly random, which it isn't)
 
Ell
back guys
 
> llvm[5]: Compiling DivZeroChecker.cpp for Release+Asserts build
What does that 5 mean?
Phase 5?
 
5:38 PM
5 deep into the build tree.
 
Well not quite. Recursive invocations of make IIRC.
 
@MooingDuck Funny how programmers often have interest in linguistics.
 
Ell
yea
 
Woohoo! Finally installed clang.
Now my libclang-utilizing program finally compiles and… generates a runtime linking error.
dyld: lazy symbol binding failed: Symbol not found: _clang_Cursor_getNumArguments What the fuck?
> Expected in: /usr/local/lib/libclang.dylib
loader y u expect lib to be there while i installed lib in /clang/lib
 
Ell
5:49 PM
hmmm... ~InputManager is protected in this context. (when using std::unique_ptr)
I guess that means it doesn't need a unique_ptr if its destructor is protected? right?
is that right?
 
Probably not. What's 'it'?
 
Ell
o.O
 
@LucDanton an InputManager. :D
 
Ell
In the tutorial, an ImageManager* is used
 
FFFFFUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUCK DYNAMIC LIBRARIES
 
Ell
5:51 PM
and there is no apparent destruction, so nevermind :L
 
@Ell It means ownership is not via pointer to InputManager.
Unless friendship.
 
@StackedCrooked Why? You can hit a protected destructor with automatic objects just as well.
 
Ell
@StackedCrooked okay :)
 
Or member variables etc.
@StackedCrooked Then I don't know what you make of protected destructors.
 
5:55 PM
Why?
 
I don't understand how pointers come into the picture.
I showed you an example where they're not involved, so I think it's completely orthogonal.
 
I see. I though you were talking about the need of friendship.
unique_ptr was mentioned, hence my assumption of pointers.
 

« first day (562 days earlier)      last day (4378 days later) »