• Advertisement

KidsLoveSatan

Member
  • Content count

    39
  • Joined

  • Last visited

Community Reputation

765 Good

About KidsLoveSatan

  • Rank
    Member

Personal Information

  • Interests
    Programming
  1. Inlining isn't to blame at all. Your result depended on returning an address to something that no longer existed.
  2. I compiled your code with /O2 and the function is being inlined, if I turn off function inlining a number of variables are optimized away. I don't see why you have a problem with it, to me it's working as it should.
  3. That doesn't answer why is it a problem if the condition is optimized away?
  4. Is that a problem? The function many have been inlined.
  5. Hold, wait what?  Neutering/spaying isn't cruel.   It is both cruel and evil A dog is meant to behave like a dog, its an animal, and some breeds are genetically wild and aggressive. If you cannot contain their nature don't breed them, don't own them.  You are castrating a dog for being a dog Its like castrating a person for behaving like a person.   Some people even neuter animals for population control. Do we castrate humans despite that our population is beginning to threaten the earth? Stick condoms on the animals dicks if you don't want them to breed!!!  How would you feel if you imaging you are castrated? If its not good why do you pretend its alright to neuter a dog? Because dogs can't speak and protest?   Its cruel, evil and should be banned worldwide   It's neither cruel or evil, it's being responsible for your pet. You say "if you cannot contain their nature don't breed them, don't own them", well we can by neutering.
  6. Your Death Song

    Clint Mansell - The Last Man
  7. Natural selection is one of the mechanisms of evolution.
  8. Never used enable_if before but according to http://en.cppreference.com/w/cpp/types/enable_if it should be class Base {};   class A { public:     template <class T>     typename std::enable_if<std::is_base_of<Base, T>::value>::type Test1()     {}       // C++14     template <class T>     std::enable_if_t<std::is_base_of<Base, T>::value> Test2()     {} };   int main() {     A a;     a.Test1<Base>();     return 0; }
  9. Protodata—a language for binary data

    Support for something like typedef, and perhaps structs.   typedef s32 int int 1 int 2 int 3 struct something { s16 u32 utf8 u8 0 } something { 0 1 "x" }    
  10. Would you let a digital copy of yourself be made?

    For experimental reason perhaps. Though I disagree about it being me, that would be like saying a canister of hydrogen is the very same atoms as in the sun. The difference is localization.   It might be immortal, I won't be.
  11. Another game, Call of Cthulhu: Dark Corners of the Earth, the intro shows the main character committing suicide with the actual game showing what lead up to his insanity.
  12. Assigning lambdas

    As others have pointed out, lambas are not an instance of std::function<>. Microsoft in this instance have done nothing wrong.
  13. "Scripting languages"

    [quote name='Antheus' timestamp='1315065703' post='4857182'] [quote name='valderman' timestamp='1315062514' post='4857167'] So, what exactly is a scripting languages?[/quote] Not C, C++, Java, C#. This is how they are defined. Erlang, Haskell, OCaml, [b]Lua[/b] and such do not count, since they do not exist as far as mainstream programming world is concerned. [/quote]What? Lua isn't used in the mainstream? [url="http://en.wikipedia.org/wiki/Lua_(programming_language)#Applications"]http://en.wikipedia....e)#Applications[/url] [url="http://en.wikipedia.org/wiki/Category:Lua-scripted_video_games"]http://en.wikipedia....ted_video_games[/url]
  14. What do you think about the Revelation?

    [quote name='mikeman' timestamp='1311232564' post='4838335'] There is. The physical world exists and has order. Therefore someone made it. YMMV. [/quote]By this reasoning, lightning exists and will even hit things. Therefore someone threw it.
  15. What do you think about the Revelation?

    [quote name='way2lazy2care' timestamp='1311080534' post='4837357'] is it cruel to send murderers and rapists to prison? What about petty thieves? Tax evaders? It's no different than any legal system in the world except it has the benefit of being omniscient and infinitely just. [/quote]Or people who collect sticks on the wrong day..
  • Advertisement