摘要:
# GeForce RTX 3070, 3080, 3090 # ARCH= -gencode arch=compute_86,code=[sm_86,compute_86] # Kepler GeForce GTX 770, GTX 760, GT 740 # ARCH= -gencode arc 阅读全文
posted @ 2022-05-06 15:21
小kk_p
阅读(4739)
评论(0)
推荐(0)
摘要:
std::bind 则是用来绑定函数调用的参数的, 它解决的需求是我们有时候可能并不一定能够一次性获得调用某个函数的全部参数,通过这个函数, 我们可以将部分调用参数提前绑定到函数身上成为一个新的对象,然后在参数齐全后,完成调用。 std::placeholder,当分批付给函数参数的过程中,如果还没 阅读全文
posted @ 2022-05-03 20:04
小kk_p
阅读(475)
评论(0)
推荐(0)
摘要:
class A { public: int x; protected: int y; private: int z; }; class B : public A { // x is public // y is protected // z is not accessible from B }; c 阅读全文
posted @ 2022-05-01 23:37
小kk_p
阅读(25)
评论(0)
推荐(0)