• Content count

  • Joined

  • Last visited

Community Reputation

4630 Excellent

About Migi0027

  • Rank
    Advanced Member

Personal Information

  • Interests
  1. To the best of my knowledge there is no standard syntax for lambda types, however given a lambda typename T, one can extract the type information by pulling the structs () operator (I.e. the lambda function): template<typename T> struct LambdaFunctionTraits : public LambdaFunctionTraits<decltype(&T::operator())> { }; template<typename C, typename R, typename... A> struct LambdaFunctionTraits<R(C::*)(A...) const /*1*/ > { static constexpr UInt32 kArgCount = sizeof...(A); using ReturnType = R; using ArgTypes = std::tuple<A...>; }; // Example usage, F is guarenteed to be a lambda type template <typename F, typename TRAITS = LambdaFunctionTraits<F>> void Foo(F&& foo) { using R = typename TRAITS::ReturnType; using A = typename TRAITS::ArgTypes; } *1. Note that for mutable lambdas you would probably have to specialize for a non const function callback, but I have not implemented this yet so I can't say for sure. In case you need the argument list as a parameter pack instead of a tuple (Or whatever intermediate type you chose), you could expand it with a proxy function that would extract the types.
  2. Fifth Engine

    Is Rube back? This should be fun!
  3. Nobody Wants A Cybergod?

    I honestly can't tell if you're trolling or not, but let's assume not. Do you think you're the first guy to think of something that seems revolutionary on the surface? We've all done it, and most of the time we then come to realize how crap / unsustainable / etc... the idea really was, so we put it to rest and didn't rub our faces with denial. And to be honest I don't care you're in denial / whatever, I care that you're rubbing your arrogance in my face. What I personally think is happening is that you realized the amount of effort that's needed to become an expert / professional in this industry (Which I am not, but I'm trying) and have no wish to partake in the struggle, so you've decided to cling onto the extreme cases hoping to catch some luck and bloat about your "brilliance". That's not to say that you shouldn't try the extreme ideas, you absolutely should, but accept them for what they are. But given your responses.... F#ck it, you're a god of technology and science, just keep it to yourself until you've got something workable. Welcome to reality and I won't be your guide.
  4. Would this be a viable alternative? http://www.volumesoffun.com/polyvox-about/ It's been a while since I've touched it, however it produces stable geometry at a nice price (0$ ).
  5. I don't have an adblocker

    Sometimes ISPs block ads (Rare) and slow bandwidth can even fool the backend into thinking the ad was blocked. Another option is that any previous adblocker you had installed left something behind (Happened to me), try reinstalling the extension and then re disabling/uninstalling it. Other than that, you could always try to clear the browser cache and any cooking related to gamedev.net along with it.
  6. This is seriously awesome, thanks!
  7. BIG3:Blender Inkscape Gimp

    All your youtube links redirects to "My Videos" (As in my account).
  8. Blogs that are basically advertisements

    A suggestion. Whilst I do love the blogs, I think they could use some sort of grouping mechanism in a similar way that the different sub forums are segmented, or some way to more easily browse them such as a tiled grid with just the titles and an optional image.
  9. Best way to achieve enviromental weather system?

    Paul your tone really isn't helping this issue, you appear both condescending and arrogant whilst constantly fighting everything people tell you. Do you want our opinion or not? Listen to Hodgman, he's a clever guy!  ^_^
  10. The Truth: Literally Exposed

    I'm not sure what to feel.
  11. Anyone excited for The Last Of Us 2 and Death Stranding?

    I have a weak spot for odd / strange / horror vibe trailers, so yes sir I'm excited! However I doubt that any story theory can be decrypted from the trailer alone.
  12. Removing a deep recursive folder structure

    I did attempt the rm equivalent (rmdir, rd), it complains that the path is too long as most other tools do.   @Frob: Ah, I see it's slightly above 32000 characters, for some reason the library I used cut support at 32000.
  13. Removing a deep recursive folder structure

    @DvDmanDT: I made a small script that renames as many folders as it can within the recursive structure, and the second stage finally worked. Again, I'm not completely sure how this is even possible, but, somehow it is.   @Prototype: I was considering doing this, just seems like something Windows should be able to take care of ( As many other things, but let's not go there ).   Thanks out for anyone who attempted to take a shot. 
  14. Removing a deep recursive folder structure

    There are no recursive symlinks involved I'm afraid, I checked to make sure.   I considered the subst <Name>: Path, however there are more than 10 thousand nested folders. I could consider making some sort of a script that slowly reaches the end this way, not sure if there's any consequences of creating so many "virtual" drive letters.
  15. Hi there,   I accidently created a very deep recursive folder structure, looking like this:   "...\Source\Runtime\Engine\Bin\Engine\Engine\Bin\Engine\Engine\Bin\Engine\Engine\Bin\Engine\Engine\Bin\Engine\Engine\Bin\Engine\Engine..."   The path is naturally too long for the default Windows Explorer to remove. I attempted the popular robocopy method of mirroring the contents to an empty folder and then removing both, no success (Crashed). I also attempted the robocopy purge, no success. I attempted to use an external tool called "DeepRemove", which unsuprisingly also didn't work (Didn't crash, just told me that it couldnt delete a very deeply nested file).   I attempted a solution from StackOverflow, using the java.nio library. It was working just fine until I got this: Exception in thread "main" java.io.IOException: Cannot access file with path exceeding 32000 characters At this moment I'm extremely confused, as I thought the path limit on most NTFS based file systems was 32000 characters. But then again I don't know too much about file systems.   And even worse it's messing up my IDE (Clion), since this folder structure was created at the same location as the sources. And this also makes pushing very annoying (Git).   Does anybody have an idea on how to approach this? Thanks for your time.