unlikely()

Hello ,

I want to conver linux code to windows code . But How can I convert
unlikely() function in windows . I found __assume() but I dont know its true or not and also it gives error c2451.I'm new in c++...

You must move this question to the *nix forum. It is unlikely (hehe, get it? I'm funny) that Windows programmers know the equivalents.
A little reading suggests they (likely() and unlikely()) are conditional optimization macros and aren't necessary unless you're writing a kernel or kernel module. So unless you are trying to port a driver you can probably remove the call to unlikely.
Thanks for your answer. I removed..
Topic archived. No new replies allowed.