tag:blogger.com,1999:blog-8875558920754897232.post1030748256088461292..comments2022-10-25T06:09:25.930-07:00Comments on Programmatically Speaking: Infer return type for templated function in C++Torgnyhttp://www.blogger.com/profile/12146418455302215748noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-8875558920754897232.post-84089191493587750312015-06-24T05:33:45.863-07:002015-06-24T05:33:45.863-07:00You're right, it's not really return type ...You're right, it's not really return type inference.<br /><br />Analogous to "template argument type deduction", I guess I should have called it "template return type deduction" as that's what I tried to achieve with this.Torgnyhttps://www.blogger.com/profile/12146418455302215748noreply@blogger.comtag:blogger.com,1999:blog-8875558920754897232.post-29130523897874130852015-06-21T09:14:23.818-07:002015-06-21T09:14:23.818-07:00I'm sorry to say, it's no a return type in...I'm sorry to say, it's no a return type inference. It's template function overloading by return type, which is quite different.Alexey Shmalkohttps://www.blogger.com/profile/06890255094499861360noreply@blogger.comtag:blogger.com,1999:blog-8875558920754897232.post-11264566815038324582015-06-21T09:13:15.728-07:002015-06-21T09:13:15.728-07:00I'm sorry to say, it's not a return type i...I'm sorry to say, it's not a return type inference. It's function overloading by return type which is quite different.Alexey Shmalkohttps://www.blogger.com/profile/06890255094499861360noreply@blogger.com