Sitelet https://github.com/nonstd-lite/string-view-lite/pull/42
Skip to content

added define to build without streams - #42

Merged
martinmoene merged 6 commits into
nonstd-lite:masterfrom
theShmoo:without-streams
Apr 26, 2021
Merged

martinmoene merged 6 commits into
nonstd-lite:masterfrom
theShmoo:without-streams

Conversation

@theShmoo

Copy link
Copy Markdown
Contributor

Hello! Thanks for your great library.

I need to use your library in an Intel SGX Enclave where we can't use standard streams (for security reasons).

In order to use your library I needed to exclude those lines from the header

@martinmoene

Copy link
Copy Markdown
Collaborator

Hi @theShmoo ,

Thanks for your input.

I'll likely implement these changes myself and perhaps use a configuration flag like nssv_CONFIG_NO_STREAM_INSERTION.

Files to update:

  • README.md
  • test/string-view.t.cpp
  • include/nonstd/string_view.hpp

@theShmoo

Copy link
Copy Markdown
Contributor Author

Thanks! Can I help you with anything?

@martinmoene

Copy link
Copy Markdown
Collaborator

Sure, if you like to update this PR into the direction of the suggestion above, that would certainly be of help :)

@theShmoo

Copy link
Copy Markdown
Contributor Author

I updated the requested files 👍

@martinmoene

Copy link
Copy Markdown
Collaborator

Thanks @theShmoo ,

Looks good...

However, there's something I forgot to warn for: trailing double spaces in README.md's markdown are significant (see .editorconfig) and there are quite a lot of them. I'd appreciate it if you could you revert those to as they were before.

Thanks for your help.

@theShmoo

theShmoo commented Apr 24, 2021 via email

Copy link
Copy Markdown
Contributor Author

@martinmoene
martinmoene merged commit 962fe40 into nonstd-lite:master Apr 26, 2021
@theShmoo

Copy link
Copy Markdown
Contributor Author

Thank you very much for your support!

@martinmoene

Copy link
Copy Markdown
Collaborator

You're welcome, thank you too :)

martinmoene added a commit that referenced this pull request Apr 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants