仿写实现move函数
一、值的类型 1.左值
描述:能够取地址的值成为左值
int a 10;
const int b 15;
int *pa &a;
const int *pb &b;2.纯右值
描述:赤裸裸的字面值 eg(false , 3 , 12.23等)
int a 13;
int *p &a; //取a的地址
int …
0、版本说明 Spring Cloud Version:Spring Cloud 2021.0.4
Spring Cloud Gateway Version:3.1.4
Spring Boot Version:2.6.11 1、网关跨域问题说明 关于跨域的相关原理和理论,网上有大量文章对此进行说明,因此博主在这…
接口
概念:接口就是一种公共的规范标准,只要符合规范,大家都可以通用
java中接口存在的两个意义
用来定义规范用来做功能的扩展
接口的特点
接口用关键字interface修饰
public interface 接口名{}类实现接口用implements表示
public class 类名 implements 接口名{}接口…