Skip to content
Snippets Groups Projects
Commit ba28abb4 authored by Recolic's avatar Recolic :house_with_garden:
Browse files

.adjust code comments and format

parent e8e9cfe7
No related branches found
No related tags found
No related merge requests found
Pipeline #948 passed with stage
in 1 minute and 40 seconds
......@@ -116,9 +116,7 @@ namespace rlib {
}
this_type &flat_map(std::function<buffer_type<value_type>(const value_type &)>) {
}
};
}
#endif
......
......@@ -709,11 +709,7 @@ namespace rlib {
sendn_ex(fd, &head, sizeof(head), MSG_NOSIGNAL);
sendn_ex(fd, dat.data(), head.len, MSG_NOSIGNAL);
}
};
} // namespace rlib
#endif
......@@ -22,21 +22,8 @@
MODULES=string meta trait stdio sio scope_guard
XTRA_FLAGS ?=
CXXFLAGS=-I. -I../.. $(XTRA_FLAGS)
STD ?= 14
FLAGS11=-std=c++11
FLAGS14=-std=c++14
FLAGS17=-std=c++17
ifeq ($(STD),11)
CXXFLAGS := $(CXXFLAGS) $(FLAGS11)
endif
ifeq ($(STD),14)
CXXFLAGS := $(CXXFLAGS) $(FLAGS14)
endif
ifeq ($(STD),17)
CXXFLAGS := $(CXXFLAGS) $(FLAGS17)
endif
CXXFLAGS=-I. -I../.. $(XTRA_FLAGS) -std=c++$(STD)
POSTFIX=$(STD)_$(CXX)
......
for fl in (ls *.cc)
g++ $fl -g -o /tmp/$fl.ex -std=c++17 -lr
end
......@@ -8,5 +8,4 @@ static_assert(rlib::os_info::os == rlib::os_info::os_t::LINUX);
static_assert(rlib::os_info::compiler == rlib::os_info::compiler_t::GCC);
int main(){
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment