version 4.2.0
move toStdFunction() to pibase.h refactor PIParseHelper, now it much more abstract and useful fix PIIODevice::createFromFullPath() when whitespaces at start or end are presence PIStreamPacker add events for start and end packet receive PIClientServer::ClientBase add virtual methods for start and end packet receive. also one can enable diagnostics with enableDiagnostics() method PICout now call flush() on each end of output add PIString::entries(const PIString & str)
This commit is contained in:
16
main.cpp
16
main.cpp
@@ -68,6 +68,22 @@ protected:
|
||||
|
||||
#include <iostream>
|
||||
int main(int argc, char * argv[]) {
|
||||
/*piCout << PIString("hello locale").entries("lo"); // 2
|
||||
piCout << PIString("hello locale").entries("lo lo"); // 1
|
||||
piCout << ("3hello4"_u8);
|
||||
piCout << ("3hello4"_u8).entries("hello1");
|
||||
piCout << ("3hello4"_u8).entries("hello");
|
||||
piCout << ("3hello4"_u8).entries("l");
|
||||
piCout << ("3hello4"_u8).entries("ello");
|
||||
piCout << ("3hello4"_u8).entries("hell");
|
||||
piCout << ("2hellohello1"_u8);
|
||||
piCout << ("2hellohello1"_u8).entries("hello1");
|
||||
piCout << ("2hellohello1"_u8).entries("hello");
|
||||
piCout << ("2hellohello1"_u8).entries("l");
|
||||
piCout << ("2hellohello1"_u8).entries("ello");
|
||||
piCout << ("2hellohello1"_u8).entries("hell");
|
||||
return 0;*/
|
||||
|
||||
PILog log;
|
||||
log.setColorConsole(false);
|
||||
log.setOutput(PILog::File, false);
|
||||
|
||||
Reference in New Issue
Block a user