I don’t know what you’re tryin’ to pull here buddy…
Monday, February 16th, 2009But I’m clearly the only thing between you and fruition of whatever your evil plan may be.
But I’m clearly the only thing between you and fruition of whatever your evil plan may be.
I’m sick to fucking death of sites that want me to register. Look, your site, your right, hands down.
But really. Does every sodding blog and news site I visit really need to track me that tightly?
I suppose if you’re the site owner, admin you can ban people if they’re problematic. But use some global ID thingie. (I’m sure there are three dozen WikiCapNamed services out there that serve this purpose.) Sure, a popular one of those I’ll add myself to.
Every once in a while I can understand it. Some people get real and meaningful threats. Sure. Lock it down.
But I’m just not going to register to your podunk newspaper website, and I suspect you’re doing yourself a disservice
Meh. Just bitching.
Haydn? Who knew?
I don’t know nothing about nothing about classical music. This came up somewhere in the twitterverse. I listened to it (twice) then dug around for other videos of people playing the same piece. They all sounded mechanical in comparison.
Twitter + YouTube, is there nothing they can’t do?
Check this out:
1: template <class T_>
2: class SimpleTemplated
3: {
4: public:
5: T_ i;
6: };
7:
8: template <class T_>
9: class Container
10: {
11: public:
12: typedef SimpleTemplated<T_> Composite;
13: typedef std::list<Composite> Collection;
14: Collection l;
15: void run()
16: {
17: Collection::iterator iter;
18: }
19: };
Here’s the pretty colorized version
Line 17 fails compilation (g++, cygwin, vista) saying
scrapyard.cpp: In member function 'void Container<T_>::run()': scrapyard.cpp:17: error: expected `;' before 'iter' make: *** [scrapyard.o] Error 1
Anyone? ANYone?
If I change line 12 from:
12: typedef SimpleTemplated<T_> Composite;
to
12: typedef std::string Composite;
it works fine of course.
It’s not a direct issue with the stl collection class either. I’ve also tried vector, as well as attempting creation of const_iterator and size_type, all with the same result.
Something about the SimpleTemplated template class is preventing me from declaring a var of a type defined within the containing collection class instantiation.
Pulling my hair out. (This is what happens when I come back to c++ after a year or two off and try something like this first thing. *ugh*)