no message

master
zcy 2022-01-14 13:42:11 +08:00
parent 396c440717
commit a24a3f7ad3
2 changed files with 8 additions and 2 deletions

View File

@ -61,8 +61,6 @@ inline ENV_COMPILER CurrentEnvCompiler()
return UNKNOWN;
}
// 限制float有效位
float LimitFloat(float in,int size) {
uint64_t tmp = 1;

View File

@ -9,8 +9,14 @@
#include "iostream"
#include <vector>
#include "pattern/ringbuffer.hpp"
#include <tuple>
using namespace std;
std::tuple<int,std::string> ReturnMoreData(){
return std::tuple<int,std::string> (1,"sss");
}
void clearBuffer(int *dat,int len){
for(int i = 0;i < len;i++){
dat[i] = 0;
@ -94,6 +100,8 @@ void TestRingBuffer(){
}
int main() {
auto x = ReturnMoreData();
std::cout<<"x first is "<<std::get<0>(x) << std::get<1>(x)<<std::endl;
std::cout<<"main"<<std::endl;
TestRingBuffer();
}