You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hi! firend, I use original json-validator object in multithread enviroment, but core in second get validator, and I see the source code,find it pass by right value reference and use a unique_ptr,i want to know : why use it as a unique_ptr ? forgive my poor English,thx!
The text was updated successfully, but these errors were encountered:
If you want to use the validator in different threads, just do so. When validating a JSON-document the validator-instance and the json-instance are considered const. Nothing is modified. So it is thread-safe.
hi! firend, I use original json-validator object in multithread enviroment, but core in second get validator, and I see the source code,find it pass by right value reference and use a unique_ptr,i want to know : why use it as a unique_ptr ? forgive my poor English,thx!
The text was updated successfully, but these errors were encountered: